RFR JDK-8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag

Alan Bateman Alan.Bateman at oracle.com
Fri Dec 6 11:32:04 UTC 2019


On 06/12/2019 03:17, Mandy Chung wrote:
> When unreflecting on a Method for caller-sensitive method, the produced
> MethodHandle should bind with the original caller lookup independent
> of the accessible flag.
>
> Webrev:
>   http://cr.openjdk.java.net/~mchung/jdk14/8235351/webrev.00/
This looks good to me, the expanded test coverage is good too (probably 
should add 8235351 to the @bug tag).

-Alan


More information about the core-libs-dev mailing list