RFR 8138884:MethodHandles.Lookup.findVirtual() Javadoc fails to consider private interface methods

shilpi rastogi shilpi.rastogi at oracle.com
Wed Feb 10 07:00:19 UTC 2016


Hi All,

Please review my updated patch
http://cr.openjdk.java.net/~srastogi/8138884/webrev.01/

Same is not applicable for "Lookup.unreflect()".

Thanks,
Shilpi
>
> Hi All,
>
> Please review my fix related to java doc.
>
> MethodHandles.Lookup.findVirtual() Javadoc fails to consider private 
> methods of an interface.
>
> MethodHandles.Lookup.findVirtual() throws IllegalAccessException if 
> the method MH is being created for is private and declared in an 
> interface.
>
> Bug link- https://bugs.openjdk.java.net/browse/JDK-8138884 
> <https://bugs.openjdk.java.net/browse/JDK-8138884>
> Webrev link- http://cr.openjdk.java.net/~srastogi/8138884/webrev.00/ 
> <http://cr.openjdk.java.net/%7Esrastogi/8138884/webrev.00/>
>
>
> Thanks,
> Shilpi
>
>




More information about the core-libs-dev mailing list