8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest
authorthartmann
Mon, 14 Jan 2019 09:48:30 +0100
changeset 53269 26a53519c82f
parent 53268 c02949731190
child 53270 f3a42c440fcb
8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest Summary: Added -XX:-OmitStackTraceInFastThrow to test flags to avoid empty exception message. Reviewed-by: epavlova, iignatyev, dlong, kvn
test/hotspot/jtreg/ProblemList-graal.txt
test/hotspot/jtreg/compiler/graalunit/common/GraalUnitTestLauncher.java
--- a/test/hotspot/jtreg/ProblemList-graal.txt	Mon Jan 14 09:26:34 2019 +0100
+++ b/test/hotspot/jtreg/ProblemList-graal.txt	Mon Jan 14 09:48:30 2019 +0100
@@ -167,5 +167,3 @@
 org.graalvm.compiler.replacements.test.StringCompressInflateTest 8213556
 
 org.graalvm.compiler.debug.test.TimerKeyTest                     8213598
-
-org.graalvm.compiler.hotspot.test.ExplicitExceptionTest          8213249
--- a/test/hotspot/jtreg/compiler/graalunit/common/GraalUnitTestLauncher.java	Mon Jan 14 09:26:34 2019 +0100
+++ b/test/hotspot/jtreg/compiler/graalunit/common/GraalUnitTestLauncher.java	Mon Jan 14 09:48:30 2019 +0100
@@ -239,6 +239,8 @@
         javaFlags.add("-Djava.awt.headless=true");
         javaFlags.add("-esa");
         javaFlags.add("-ea");
+        // Make sure exception message is never null
+        javaFlags.add("-XX:-OmitStackTraceInFastThrow");
 
 
         // generate class path