< prev index next >

test/compiler/runtime/StackOverflowBug.java

Print this page

        

*** 26,38 **** * @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 */ public class StackOverflowBug { public static int run() { try { --- 26,40 ---- * @test * @bug 6865265 * @summary JVM crashes with "missing exception handler" error * @author volker.simonis@sap.com * ! * @run main/othervm -XX:CompileThreshold=100 -Xbatch -Xss512k ! * compiler.runtime.StackOverflowBug */ + package compiler.runtime; public class StackOverflowBug { public static int run() { try {
*** 52,63 **** // "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 { } } public static void main(String argv[]) { run(); --- 54,64 ---- // "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 { } } public static void main(String argv[]) { run();
< prev index next >