Question About MethodHandles.findSpecial
Fredrik Öhrström
fredrik.ohrstrom at oracle.com
Tue May 5 08:15:33 PDT 2009
What is the purpose of being able to invoke the constructor
through a MethodHandle? The reason I am asking is because
to me, it seems like we cannot perform a new through
a MethodHandle. Which means that we have to generate a
factory method (to which we can bind a MethodHandle) to
create a new instance and then we can just as well put
the call to the constructor there. Or am i missing
something? :-)
//Fredrik
More information about the mlvm-dev
mailing list