On Thu, 20 Apr 2023 16:09:29 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
> ProcessTools.startProcess() creates process and read it's output error > streams. So the any other using of corresponding Process.getInputStream() and > Process.getErrorStream() doesn't get process streams. > > This fix preserve process streams content and allow to read it after process > completion. The another possible solution would be to throw exception when > user tries to read already drained streams to fail tests earlier. However it > complicates usage of ProcessTools.startProcess() methods. > > The regression test has been provided with issue. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/13560