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. Looks good. ------------- Marked as reviewed by sspitsyn (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/25529#pullrequestreview-2882258269