RFR: 8263729: [test] Extend time to wait before destroying child in ProcssBuilder Basic test [v2]

Thomas Stuefe stuefe at openjdk.java.net
Fri Mar 19 17:32:40 UTC 2021


On Fri, 19 Mar 2021 17:01:26 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> test/jdk/java/lang/ProcessBuilder/Basic.java line 2156:
>> 
>>> 2154:                         case 1:
>>> 2155:                             childArgs.set(1, "-XX:+DisplayVMOutputToStdout");
>>> 2156:                             pb.redirectInput(INHERIT);
>> 
>> not `redirectOutput()` ?
>
> You are correct. will fix.
> (The Process streams are from the point of view of parent).

Yes, I have to look this up every time. Its not intuitive.

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

PR: https://git.openjdk.java.net/jdk/pull/3049


More information about the core-libs-dev mailing list