# HG changeset patch # User iignatyev # Date 1548869440 28800 # Node ID 7d19ac37d7d197241ea3d649ebac687d883a7cf9 # Parent 6a30416606ed23b94b787ec27507b42f6c8a8e8c 8207922: ctw of jdk.security.auth failed with "Unexpected zero exit codebefore finishing all compilations" Reviewed-by: roland, thartmann diff -r 6a30416606ed -r 7d19ac37d7d1 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,