RFR: 8291760: PipelineLeaksFD.java still fails: More or fewer pipes than expected

Jaikiran Pai jpai at openjdk.org
Thu Aug 18 02:05:25 UTC 2022


On Wed, 17 Aug 2022 15:31:14 GMT, Roger Riggs <rriggs at 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

Marked as reviewed by jpai (Reviewer).

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

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


More information about the core-libs-dev mailing list