Test runtime/Thread/TooSmallStackSize.java fail on solaris-x64 when product binaries are tested with following error:
----------System.out:(17/3471)----------
*** Testing -XX:ThreadStackSize=16
Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ThreadStackSize=16 -version ]
PASSED: got expected error message with -XX:ThreadStackSize=16
*** Testing -XX:ThreadStackSize=32
Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ThreadStackSize=32 -version ]
PASSED: got expected error message with -XX:ThreadStackSize=32
*** Testing -XX:ThreadStackSize=144
Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ThreadStackSize=144 -version ]
PASSED: VM launched with -XX:ThreadStackSize=144
*** Testing -XX:CompilerThreadStackSize=16
Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:CompilerThreadStackSize=16 -version ]
PASSED: got expected error message with -XX:CompilerThreadStackSize=16
*** Testing -XX:CompilerThreadStackSize=32
Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:CompilerThreadStackSize=32 -version ]
PASSED: got expected error message with -XX:CompilerThreadStackSize=32
*** Testing -XX:CompilerThreadStackSize=300
Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:CompilerThreadStackSize=300 -version ]
----------System.err:(21/1050)----------
stdout: [];
stderr: []
exitValue = 11
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
at TooSmallStackSize.checkMinStackAllowed(TooSmallStackSize.java:155)
at TooSmallStackSize.main(TooSmallStackSize.java:189)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:538)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
JavaTest Message: shutting down test