hg: jdk8/tl/jdk: 8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Tue Jan 28 05:53:05 PST 2014


Changeset: 56d05f260123
Author:    vlivanov
Date:      2014-01-28 13:46 +0400
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/56d05f260123

8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
Reviewed-by: twisti, jrose

! src/share/classes/sun/invoke/util/VerifyAccess.java
+ test/java/lang/invoke/ProtectedMemberDifferentPackage/Test.java
+ test/java/lang/invoke/ProtectedMemberDifferentPackage/p1/T2.java
+ test/java/lang/invoke/ProtectedMemberDifferentPackage/p2/T3.java



More information about the security-dev mailing list