On Oct 1, 2008, at 4:06 PM, Rémi Forax wrote:

> why MethodHandles.dropArgument() takes an argument valueType ?

If mh2 = dropArgument(mh, 0), then mh2.invoke(x, abc...) == mh.invoke 
(abc...).
If mh.type is R(ABC...), then mh2.type is R(X, ABC...).
The type X needs to be supplied explicitly when mh2 is created.

Can we fix the javadoc to make this more obvious?

-- John
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to