On Thu, 12 Mar 2026 17:59:01 GMT, Roger Riggs <[email protected]> wrote:
> 8379182: [test] java/lang/ProcessBuilder/PipelineLeaksFD.java fails > Invoking lsof as a child process lead to races between parent and child that > affected the open file descriptors. > > Replace use of lsof with native code to test file descriptors that are pipes > and show the inode number for debugging. > Simple counts of pipe file descriptors are used to look for leaking fds. > This implementation works on Mac and Linux. > It may work Musl and Alpine (unconfirmed) and could remove the @requires > restriction. This pull request has now been integrated. Changeset: f7c427fe Author: Roger Riggs <[email protected]> URL: https://git.openjdk.org/jdk/commit/f7c427fedaf7406560918ee568e6861e666f5aa4 Stats: 314 lines in 4 files changed: 124 ins; 154 del; 36 mod 8379182: [test] java/lang/ProcessBuilder/PipelineLeaksFD.java fails Reviewed-by: stuefe ------------- PR: https://git.openjdk.org/jdk/pull/30223
