Skip to content

fix: NoSuchMethodError closeQuietly(java.io.Closeable[])#6377

Merged
jeremylong merged 1 commit intomainfrom
scratch/closequietly
Jan 14, 2024
Merged

fix: NoSuchMethodError closeQuietly(java.io.Closeable[])#6377
jeremylong merged 1 commit intomainfrom
scratch/closequietly

Conversation

@jeremylong
Copy link
Copy Markdown
Collaborator

resolves #6373

@boring-cyborg boring-cyborg Bot added the core changes to core label Jan 9, 2024
try {
jsonParser.close();
} catch (IOException ex) {
//ignore
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be at least logged at an appropriate level rather than silenced completely?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the close fails - there would be other esceptions that would be logged. The other exceptions would be more meaningful.

@jeremylong jeremylong merged commit 0d96989 into main Jan 14, 2024
@jeremylong jeremylong deleted the scratch/closequietly branch January 14, 2024 10:32
@jeremylong jeremylong added this to the 9.0.9 milestone Jan 14, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check fails with java.lang.NoSuchMethodError: 'void org.apache.commons.io.IOUtils.closeQuietly(java.io.Closeable[])'

2 participants