> 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
Roger Riggs has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits: - Merge branch 'master' into 8291760-leaks-close - 8291760: PipelineLeaksFD.java still fails: More or fewer pipes than expected Check the contents and close each stdout and stderr stream. ------------- Changes: https://git.openjdk.org/jdk/pull/9905/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9905&range=01 Stats: 14 lines in 2 files changed: 5 ins; 7 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/9905.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9905/head:pull/9905 PR: https://git.openjdk.org/jdk/pull/9905