< prev index next >

test/compiler/exceptions/CatchInlineExceptions.java

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

*** 23,39 **** /** * @test * @bug 8059299 * @summary assert(adr_type != NULL) failed: expecting TypeKlassPtr ! * @run main/othervm -Xbatch CatchInlineExceptions */ ! class Exception1 extends Exception {}; ! class Exception2 extends Exception {}; public class CatchInlineExceptions { private static int counter0; private static int counter1; private static int counter2; private static int counter; --- 23,41 ---- /** * @test * @bug 8059299 * @summary assert(adr_type != NULL) failed: expecting TypeKlassPtr ! * ! * @run main/othervm -Xbatch compiler.exceptions.CatchInlineExceptions */ ! package compiler.exceptions; public class CatchInlineExceptions { + static class Exception1 extends Exception {}; + static class Exception2 extends Exception {}; private static int counter0; private static int counter1; private static int counter2; private static int counter;
< prev index next >