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
--- 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