< prev index next >

test/java/lang/invoke/accessProtectedSuper/Test.java

Print this page

        

*** 24,34 **** /** * @test * @bug 8022718 * @summary Runtime accessibility checking: protected class, if extended, should be accessible from another package ! * * @compile -XDignore.symbol.file BogoLoader.java MethodInvoker.java Test.java anotherpkg/MethodSupplierOuter.java * @run main/othervm Test */ import java.lang.reflect.InvocationTargetException; --- 24,34 ---- /** * @test * @bug 8022718 * @summary Runtime accessibility checking: protected class, if extended, should be accessible from another package ! * @modules java.base/jdk.internal.org.objectweb.asm * @compile -XDignore.symbol.file BogoLoader.java MethodInvoker.java Test.java anotherpkg/MethodSupplierOuter.java * @run main/othervm Test */ import java.lang.reflect.InvocationTargetException;
< prev index next >