method handles and call sites listed as part of Java SE 6 Update 18?!

Attila Szegedi szegedia at gmail.com
Wed Mar 17 04:47:35 PDT 2010


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? :-)

Attila.

> 
> -- Christian


More information about the mlvm-dev mailing list