JDK-7049410 : JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-28
  • Updated: 2012-12-05
  • Resolved: 2011-06-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 Other
7Fixed hs21Fixed
Description
The JVM currently links bytecodes which mention MH.invokeGeneric as if they had mentioned MH.invoke.  This is an error, which will be detected by a negative test that attempts to work with the method named MH.invokeGeneric.

The fix is simple: Change the default value of AllowInvokeGeneric to false.
Or, delete the flag altogether.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/c76d5f44a3fe
09-06-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/c76d5f44a3fe
04-06-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/a93146d0e4be
03-06-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/a93146d0e4be
02-06-2011