[8] RFR (S): 8033278: Missed access checks for Lookup.unreflect* after 8032585

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri Jan 31 00:58:49 UTC 2014


http://cr.openjdk.java.net/~vlivanov/8033278/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8033278

The fix for 8032585 [1] introduced a regression: in some cases access 
check on a reference class is omitted.

The fix is to ensure that access check on a reference class is always 
performed.

Testing: regression test, jdk/test/java/lang/invoke/, 
jdk/test/java/util/stream, vm.defmeth.testlist, vm.mlvm.testlist, 
nashorn (unit tests, octane), groovy

Thanks!

Best regards,
Vladimir Ivanov

[1] http://cr.openjdk.java.net/~vlivanov/8032585/webrev.00/



More information about the core-libs-dev mailing list