On Wed, 17 Aug 2022 15:31:14 GMT, Roger Riggs <rri...@openjdk.org> wrote:
> Revised test to check and close all of the streams used in the pipeline. > > The test now checks the content length and closes each stdout and stderr > stream. > > The previous technique to redirect stderr to stdout was ineffective because > the fd/stream was still created in the parent process. Created > [8291986](https://bugs.openjdk.org/browse/JDK-8291986) > ProcessBuilder.redirectErrorStream(true) leaves error stream available to > investigate This pull request has now been integrated. Changeset: 4e457acd Author: Roger Riggs <rri...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/4e457acda09be57dbb49b5c89123bf79bf81f38c Stats: 28 lines in 2 files changed: 8 ins; 7 del; 13 mod 8291760: PipelineLeaksFD.java still fails: More or fewer pipes than expected Reviewed-by: jpai, alanb ------------- PR: https://git.openjdk.org/jdk/pull/9905