MethodHandles.dropArgument()
John Rose
John.Rose at Sun.COM
Wed Oct 1 16:28:54 PDT 2008
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
More information about the mlvm-dev
mailing list