RFR: 8265173: [test] divert spurious log output away from stream under test in ProcessBuilder Basic test

Roger Riggs rriggs at openjdk.java.net
Thu Apr 15 14:40:36 UTC 2021


On Wed, 14 Apr 2021 14:08:50 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> The most recent intermittent failure showed that the error occurred during VM initialization.
> Only the tty output was diverted, but not log output.
> Add diversion of log output as well tty output.
> 
> Add `-Xlog:all=warning:stderr` and `-Xlog:all=warning:stdout` to correspond to 
> `-XX:+DisplayVMOutputToStderr` and `-XX:+DisplayVMOutputToStdout`

I checked the other uses of -XX:+Display... and they work as intended.
Thanks

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

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


More information about the core-libs-dev mailing list