Constructors of JavaMethodHandle that takes a String

Rémi Forax forax at univ-mlv.fr
Tue Jun 23 06:11:37 PDT 2009


Hi John, hi all,
the two constructors of JavaMethodHandle introduce
a new way to find a method based on the name of the method and its arity
(without taking account the parameter types).

I don't understand why you want to introduce another way to find a method ?
Why not use the method type and findVirtual() ?

Having a constructor that only takes the method's name is cool
but I don't think it worth the trouble of the introduction
of a new method lookup algorithm.

regards,
Rémi



More information about the mlvm-dev mailing list