who needs asInstance...
John Rose
john.r.rose at oracle.com
Mon Mar 28 16:27:43 PDT 2011
On Mar 28, 2011, at 4:11 PM, Attila Szegedi wrote:
> I think I'd use it if it were available.
>
> On an unrelated sidenote, I totally read that as "who needs assistance"
:-) If we keep it, we are likely to give it a more distinctive name, like "asInterfaceInstance". Also (or instead), it may be moved into its own class, since it disturbs the rule that MethodHandles a factory for method handles.
E.g.: java.lang.invoke.MethodHandleProxies.asInterfaceInstance(Class<?> intfc, MethodHandle mh).
-- John
More information about the mlvm-dev
mailing list