Few questions about invokeDynamic
Christian Thalinger
christian.thalinger at oracle.com
Thu Nov 11 07:11:54 PST 2010
On Nov 9, 2010, at 4:25 PM, Rémi Forax wrote:
> Here is an example.
> If indy has no parameter, it tests void -> indy return type
> If indy has one parameter, it test parameter type -> return type
> If indy name is "spread", a spread/collect is done.
>
> Rémi
>
> PS: With the new API, all identity methods but the one that take no
> parameter
> can be removed and replace by Methodhandles.identity() in the BSM.
Remi, can I use your example below as base for a testcase? Something
like:
http://cr.openjdk.java.net/~twisti/6998541/webrev.00/test/compiler/6998541/Test6998541.java.html
Since you have signed the SCA this shouldn't be a legal problem.
-- Christian
More information about the mlvm-dev
mailing list