changeset 13105:aa9e8b3916ae

8143253: java/lang/invoke/CompileThresholdBootstrapTest.java failing on mach5 Reviewed-by: lancea
author redestad
date Wed, 18 Nov 2015 20:56:00 +0100
parents 28f55851bf38
children 95096672420a
files test/java/lang/invoke/CompileThresholdBootstrapTest.java
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/invoke/CompileThresholdBootstrapTest.java	Wed Nov 18 17:39:40 2015 +0100
+++ b/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();
+        }
     }
 }