< prev index next >
test/compiler/runtime/StackOverflowBug.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -26,13 +26,15 @@
* @test
* @bug 6865265
* @summary JVM crashes with "missing exception handler" error
* @author volker.simonis@sap.com
*
- * @run main/othervm -XX:CompileThreshold=100 -Xbatch -Xss512k StackOverflowBug
+ * @run main/othervm -XX:CompileThreshold=100 -Xbatch -Xss512k
+ * compiler.runtime.StackOverflowBug
*/
+package compiler.runtime;
public class StackOverflowBug {
public static int run() {
try {
@@ -52,14 +54,13 @@
// "java.lang.Throwable / current-Classloader" entry into the system dictionary.
// This would in turn allow C2 to see 'java.lang.Throwable' as "loaded"
// (see 'Parse::catch_inline_exceptions()') when this method is compiled.
return 42;
}
+ } finally {
}
- finally {
}
- }
public static void main(String argv[]) {
run();
}
}
< prev index next >