review request (M): 6979327: method handle invocation should use casts instead of type parameters to specify return type

John Rose john.r.rose at
Thu Nov 18 15:29:49 PST 2010

Javac changes have now propagated for changing this method handle syntax:
to be replaced by this:
  (T) mh.invokeExact()

The present reviewe is the "other shoe" dropping for these javac changes, to make the corresponding changes in the JDK code.  All the places which used the old syntax have been replaced by the new.

Also in this change set, the class InvokeDynamic has been restored because of linkages to the JVM.  (The previous change, for 6981777, removed it prematurely.)  The restored class is not part of the 292 API, just the implementation.  We'll want to remove the linkages from the JVM.

-- John

More information about the hotspot-compiler-dev mailing list