RFR 8195650 Method references to VarHandle accessors

Karen Kinnear karen.kinnear at oracle.com
Mon Jun 25 21:17:19 UTC 2018


Looks good. Matches the existing JVMS. Thanks for the tests.

thanks,
Karen

> On Jun 19, 2018, at 8:08 PM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> 
> Hi,
> 
> Please review the following fix to ensure method references to VarHandle signature polymorphic methods are supported at runtime (specifically the method handle to a signature polymorphic method can be loaded from the constant pool):
> 
>  http://cr.openjdk.java.net/~psandoz/jdk/JDK-8195650-varhandle-mref/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk/JDK-8195650-varhandle-mref/webrev/>
> 
> I also added a “belts and braces” test to ensure a constant method handle to MethodHandle::invokeBasic cannot be loaded if outside of the j.l.invoke package.
> 
> Paul.
> 



More information about the core-libs-dev mailing list