hg: jdk8/tl/jdk: 8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Thu Oct 17 06:34:44 PDT 2013


Changeset: 0a6730b5e192
Author:    drchase
Date:      2013-10-16 17:55 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0a6730b5e192

8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
Summary: Modify accessibility check; it was muddled about Java vs JVM protection terminology.
Reviewed-by: jrose

! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/sun/invoke/util/VerifyAccess.java
! src/share/classes/sun/reflect/Reflection.java
+ test/java/lang/invoke/accessProtectedSuper/BogoLoader.java
+ test/java/lang/invoke/accessProtectedSuper/MethodInvoker.java
+ test/java/lang/invoke/accessProtectedSuper/Test.java
+ test/java/lang/invoke/accessProtectedSuper/anotherpkg/MethodSupplierOuter.java



More information about the security-dev mailing list