MethodHandle.invoke* should only work with source 1.7
John Rose
john.r.rose at oracle.com
Fri Feb 11 01:10:27 PST 2011
On Feb 11, 2011, at 12:57 AM, Rémi Forax wrote:
> Anyway, I wonder why hotspot works when it find a Methodhandle.invoke*
> in a 1.6 classfile.
Interesting question. I suppose it should hook up to the native method which (as the EG has decided) will throw UnsupportedOperationException, rather than try to guess at the lost type descriptor.
-- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110211/b10911df/attachment.html
More information about the mlvm-dev
mailing list