blackdrag opened a new pull request, #2352: URL: https://github.com/apache/groovy/pull/2352
The filterLine method returns a Writable whose writeTo method reads from a BufferedReader but never closes it, causing the underlying file handle to remain open and cause resource leaks. This fix wraps the filtering logic in writeTo within a try-finally block to ensure the BufferedReader is closed after use. -- 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]
