< prev index next >

test/compiler/exceptions/TestRecursiveReplacedException.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 23,36 **** /* * @test * @bug 8054224 * @summary Recursive method compiled by C1 is unable to catch StackOverflowError - * @run main/othervm -Xcomp -XX:CompileOnly=Test.run -XX:+TieredCompilation -XX:TieredStopAtLevel=2 -Xss512K TestRecursiveReplacedException * */ public class TestRecursiveReplacedException { public static void main(String args[]) { new TestRecursiveReplacedException().run(); } --- 23,40 ---- /* * @test * @bug 8054224 * @summary Recursive method compiled by C1 is unable to catch StackOverflowError * + * @run main/othervm -Xcomp -XX:+TieredCompilation -XX:TieredStopAtLevel=2 -Xss512K + * -XX:CompileCommand=compileonly,compiler.exceptions.TestRecursiveReplacedException::run + * compiler.exceptions.TestRecursiveReplacedException */ + package compiler.exceptions; + public class TestRecursiveReplacedException { public static void main(String args[]) { new TestRecursiveReplacedException().run(); }
< prev index next >