8207922: ctw of jdk.security.auth failed with "Unexpected zero exit codebefore finishing all compilations"
authoriignatyev
Wed, 30 Jan 2019 09:30:40 -0800
changeset 53577 7d19ac37d7d1
parent 53576 6a30416606ed
child 53578 ad3bb34fe399
child 53608 6c377af36a5c
8207922: ctw of jdk.security.auth failed with "Unexpected zero exit codebefore finishing all compilations" Reviewed-by: roland, thartmann
test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/CtwRunner.java
--- a/test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/CtwRunner.java	Wed Jan 30 15:02:05 2019 +0530
+++ b/test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/CtwRunner.java	Wed Jan 30 09:30:40 2019 -0800
@@ -263,6 +263,8 @@
                 "-XX:-UseCounterDecay",
                 "-XX:-ShowMessageBoxOnError",
                 "-XX:+UnlockDiagnosticVMOptions",
+                // redirect VM output to cerr so it won't collide w/ ctw output
+                "-XX:+DisplayVMOutputToStderr",
                 // define phase start
                 "-DCompileTheWorldStartAt=" + classStart,
                 "-DCompileTheWorldStopAt=" + classStop,