thecoop commented on issue #14731: URL: https://github.com/apache/lucene/issues/14731#issuecomment-3057033604
The pattern of using `finally` blocks to handle cleanup is one which we are slowly removing, and replacing with suppressed exceptions; that case in particular is already modified to correctly handle exceptions during cleanup to maintain the root exception. Lucene 9 fixed this particular instance, so I recommend upgrading to a more recent v9 or v10 Lucene version -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org