Bootstrap arguments

Rémi Forax forax at univ-mlv.fr
Thu Aug 25 11:06:18 PDT 2011


Hi John, hi all,
several people (2 actually :) ask me how to use a boolean/byte/short/char
as a bootstrap argument.

As you know, you can't because you can't encode a constant 
boolean/byte/short/char
in the constant pool but only an int and because asType() doesn't do
narrowing primitive conversion.
I think the doc of the overview of java.lang.invoke can be updated to add
a line about that.

cheers,
Rémi



More information about the mlvm-dev mailing list