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

Roger Riggs rriggs at openjdk.java.net
Fri Mar 19 17:04:40 UTC 2021


On Fri, 19 Mar 2021 16:54:43 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Redirect VM output away from stream under test
>
> test/jdk/java/lang/ProcessBuilder/Basic.java line 2156:
> 
>> 2154:                         case 1:
>> 2155:                             childArgs.set(1, "-XX:+DisplayVMOutputToStdout");
>> 2156:                             pb.redirectInput(INHERIT);
> 
> not `redirectOutput()` ?

The naming of the methods is from the point of view of the parent, not the child.
So it seems backward, but is correct.

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

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


More information about the core-libs-dev mailing list