[9] RFR (S): 8032400: JSR292: invokeSpecial: InternalError attempting to lookup a method

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Thu Jun 5 22:25:17 UTC 2014


Thanks for review, Paul.

>
> Looks ok.
>
> The behaviour of MethodHandles.Lookup.findSpecial got me confused for a while :-)
>
> Minor point: is it also worth exposing a T3.lookup() method and on the returned Lookup calling findSpecial(T1.class, "m", MethodType.methodType(int.class), T3.class).invokeExact() to ensure the programmatic path also works?
Good point. Updated webrev:
http://cr.openjdk.java.net/~vlivanov/8032400/webrev.01/

Best regards,
Vladimir Ivanov


More information about the mlvm-dev mailing list