RFR 8016281: The SAM method should be passed to the metafactory as a MethodType not a MethodHandle

Remi Forax forax at univ-mlv.fr
Sun Jul 7 11:57:02 PDT 2013


On 07/07/2013 07:49 PM, Robert Field wrote:
> Please review the fix for CR:
>
> http://bugs.sun.com/view_bug.do?bug_id=8016281
>
> See also duplicate bug for more motivation:
>
> http://bugs.sun.com/view_bug.do?bug_id=8019635
>
> Webrev:
>
>           http://cr.openjdk.java.net/~rfield/8016281/
>
> Note this includes metafactory (JDK) and the corresponding javac
> (langtools) changes.
>
>
>

Hi Robert,
I like this cleanup, patch is Ok for me,
I just think that "functionalInterfaceType" is a better name than 
"invokedType"
especially when "invokedType" is used as a name of one of the component 
of the serialized form.

cheers,
Rémi



More information about the lambda-dev mailing list