RFR 8138578:MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods

Paul Sandoz paul.sandoz at oracle.com
Fri Jan 22 09:48:13 UTC 2016


Hi Shilpi,

Similar to the previous patch, can you double check Lookup.unreflect. Not sure how far you wanna go in this case, but checking i think would be useful.

 860          *                                or if the method is {@code private} method of interface

s/method of interface/method of an interface/

Paul.

> On 22 Jan 2016, at 10:22, shilpi rastogi <shilpi.rastogi at oracle.com> wrote:
> 
> 
> Gentle Reminder!
> 
> -------- Original Message --------
> Subject: 	[9u-dev] 8138578:MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods
> Date: 	Wed, 20 Jan 2016 18:12:30 +0530
> From: 	shilpi rastogi <shilpi.rastogi at oracle.com>
> Organization: 	Oracle Corporation
> To: 	core-libs-dev at openjdk.java.net
> 
> 
> 
> Hi All,
> 
> Please review my fix related to java doc.
> 
> MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods-
> 
> MethodHandles.Lookup.findSpecial() throws IllegalAccessException if the target method is static.
> 
> Bug link- https://bugs.openjdk.java.net/browse/JDK-8138578 <https://bugs.openjdk.java.net/browse/JDK-8138578>
> Webrev link- http://cr.openjdk.java.net/~srastogi/8138578/webrev.00/ <http://cr.openjdk.java.net/%7Esrastogi/8138578/webrev.00/>
> 
> Thnaks,
> Shilpi
> 
> 




More information about the core-libs-dev mailing list