elharo opened a new issue, #1998:
URL: https://github.com/apache/maven-resolver/issues/1998

   **Affected version:** HEAD
   
   **Files:**
   - 
`maven-resolver-test-util/src/main/java/org/eclipse/aether/internal/test/util/TestFileUtils.java:172-325`
   - 
`maven-resolver-test-util/src/main/java/org/eclipse/aether/internal/test/util/TestFileProcessor.java:63-151`
   
   Methods manually close streams in try-catch-finally blocks instead of using 
try-with-resources. If an explicit `close()` call throws before the finally 
block, open resources are leaked. Functionally correct in happy-path but 
fragile.
   
   Originally reported in #1944.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to