JDK-6817525 : turn on method handle functionality by default for JSR 292
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs19,hs21,7
Priority:P2
Status:Closed
Resolution:Fixed
OS:generic,windows_xp
CPU:generic,x86
Submitted:2009-03-15
Updated:2011-04-25
Resolved:2011-04-25
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.
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
This bug tracks that transition, and any regressions that may occur as a result.
Comments
EVALUATION
The options EnableMethodHandles and AnonymousClasses are deprecated
and will be removed in the future. EnableInvokeDynamic has changed
from an experimental flag to a diagnostic flag and is the remaining
option which turns on and off JSR 292 support (including method
handles and anonymous classes).
The default value for EnableInvokeDynamic is true for JDK 7 and later
and false otherwise. EnableInvokeDynamic, and thus JSR 292 support in
the VM, cannot be enabled when running with JDK 6 or earlier.