This is safe as a point fix, since (a) Lookup.checkSymbolicClass vets 'refc'
before checkMemberAccess is called, and (b) the JVMS does not in fact call for
'defc' to also be accessible, if it is inherited via 'refc'.
There is a slightly different problem here, a code cleanup problem. The
javad
Looks good.
On Jan 27, 2014, at 8:05 AM, Vladimir Ivanov
wrote:
> http://cr.openjdk.java.net/~vlivanov/8032585/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8032585
>
> JSR292 access verification logic refuses method handle lookup access to
> methods which are defined on inaccessible
http://cr.openjdk.java.net/~vlivanov/8032585/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8032585
JSR292 access verification logic refuses method handle lookup access to
methods which are defined on inaccessible classes. This is usually
correct, but in the corner case of inheritance throu