RFR(S): 8198655: test/lib/jdk/test/lib/apps/LingeredApp shouldn't inherit cout/cerr (original) (raw)

Chris Plummer chris.plummer at oracle.com
Fri Mar 9 20:46:48 UTC 2018


Hello,

Please help review the following:

https://bugs.openjdk.java.net/browse/JDK-8198655 http://cr.openjdk.java.net/~cjplummer/8198655/webrev.00/webrev/

In the end there were two issues. The first was that the pb.redirectError() call was redirecting the LingeredApp's stderr to the console, which we don't want. The second was that nothing was capturing the LingeredApp's output and sending it to the driver app's output (jtr file). These changes make all the LingeredApp's output end up in the jtr file.

Tested by running all tests that use LingeredApp.

thanks,

Chris



More information about the serviceability-dev mailing list