8143253: java/lang/invoke/CompileThresholdBootstrapTest.java failing on mach5
authorredestad
Wed, 18 Nov 2015 20:56:00 +0100
changeset 33870 b6912939780c
parent 33869 a25f84d078ab
child 33871 73d87430102d
8143253: java/lang/invoke/CompileThresholdBootstrapTest.java failing on mach5 Reviewed-by: lancea
jdk/test/java/lang/invoke/CompileThresholdBootstrapTest.java
--- a/jdk/test/java/lang/invoke/CompileThresholdBootstrapTest.java	Wed Nov 18 17:39:40 2015 +0100
+++ b/jdk/test/java/lang/invoke/CompileThresholdBootstrapTest.java	Wed Nov 18 20:56:00 2015 +0100
@@ -42,7 +42,11 @@
     }
 
     public static void main(String ... args) {
-        CompileThresholdBootstrapTest test = CompileThresholdBootstrapTest();
-        test.testBootstrap();
+        try {
+            CompileThresholdBootstrapTest test = new CompileThresholdBootstrapTest();
+            test.testBootstrap();
+        } catch (Throwable t) {
+            t.printStackTrace();
+        }
     }
 }