On Thu, 29 May 2025 19:14:06 GMT, Larry Cable <d...@openjdk.org> wrote:

> JDK-8358077:sun.tools.attach.VirtualMachineImpl::checkCatchesAndSendQuitTo on 
> Linux leaks file handles after JDK-8327114
> 
> modified the code to place the `Files::lines` in a `try-with-resources` block 
> in order to autoclose the `Stream` and underlying file resources immediately.

This pull request has now been integrated.

Changeset: 44d62c8e
Author:    Larry Cable <larry.ca...@oracle.com>
Committer: Kevin Walls <kev...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/44d62c8e21fb09381f9f86a081f70549cc321b1e
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

8358077: sun.tools.attach.VirtualMachineImpl::checkCatchesAndSendQuitTo on 
Linux leaks file handles after JDK-8327114

Reviewed-by: kevinw, sspitsyn, syan

-------------

PR: https://git.openjdk.org/jdk/pull/25529

Reply via email to