RFR 8206955 MethodHandleProxies.asInterfaceInstance does not support default methods

Peter Levart peter.levart at gmail.com
Wed Jul 11 15:15:09 UTC 2018

Hi Paul,

The patch looks ok. I hope IMPL_LOOKUP has access to all methods (even 
if located in package-private interfaces and/or in concealed packages of 

Just a thought... Would it be possible to implement this API in terms of 
LambdaMetafactory ?

Regards, Peter

On 07/11/2018 12:43 AM, Paul Sandoz wrote:
> Hi,
> Please review this fix to MethodHandleProxies.asInterfaceInstance to support default methods:
>    http://cr.openjdk.java.net/~psandoz/jdk/JDK-8206955-mh-func-iface-proxy-default-methods/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk/JDK-8206955-mh-func-iface-proxy-default-methods/webrev/>
> It probably requires a CSR, which i shall do after this review.
> Thanks,
> Paul.

More information about the core-libs-dev mailing list