method handles and call sites listed as part of Java SE 6 Update 18?!
Tobias Ivarsson
thobes at gmail.com
Wed Mar 17 07:13:28 PDT 2010
On Wed, Mar 17, 2010 at 12:47 PM, Attila Szegedi <szegedia at gmail.com> wrote:
> On 2010.03.17., at 12:06, Christian Thalinger wrote:
>
> > On Wed, 2010-03-17 at 11:54 +0100, Attila Szegedi wrote:
> >> Folks,
> >>
> >> just noticed something strange. Java SE 6 Update 18 Release Notes at <
> http://java.sun.com/javase/6/webnotes/6u18.html> list the following issues
> as being fixed for that release:
> >>
> >> 6655638 hotspot compiler2 dynamic languages need
> method handles
> >> 6655646 hotspot compiler2 dynamic languages need
> dynamically linked call sites
> >>
> >> What does this mean? Certainly it doesn't mean we suddenly got
> invokedynamic JVM support in Java 6, does it?
> >
> > No. As the release notes say:
> >
> > "6u18 includes version 16.0 of the Java HotSpot Virtual Machine."
> >
> > HotSpot Express is shipped with JDK 6 and 7 and that's why HotSpot
> > contains JSR 292 code. But the JDK does not.
>
> Actually, that was exactly what I asked - I worded it carefully to say
> "JVM", not "JRE". So, the HotSpot JVM in there does ship with the JSR-292
> bits, it's just that none of the java.dyn.* classes are in rt.jar, so the
> functionality is essentially dormant as there's no API entry point.
>
> Hm... how long before someone gets an idea? :-)
>
Ooo... that gives me an idea ;-)
I'm pretty sure everyone on this list also got this idea: putting a jar
containing the java.dyn stuff on the bootclasspath should give us
invokedynamic support...
I haven't tried it, there might be other issues preventing it, I just
couldn't resist the "how long before someone gets an idea?" trap you set...
/Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20100317/227aaa61/attachment.html
More information about the mlvm-dev
mailing list