elharo opened a new pull request, #1071:
URL: https://github.com/apache/maven-compiler-plugin/pull/1071

   Fixes #1070
   
   `Files.walk()` returns a `Stream<Path>` backed by a `DirectoryStream` 
handle. Without try-with-resources, the stream is only closed when garbage 
collected, which can cause "Too many open files" errors on multi-release 
projects with many versioned directories.
   
   Wrapped the stream in a try-with-resources block to ensure prompt resource 
release.


-- 
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