United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6817525 turn on method handle functionality by default for JSR 292
JDK-6817525 : turn on method handle functionality by default for JSR 292

Details
Type:
Bug
Submit Date:
2009-03-15
Status:
Closed
Updated Date:
2011-04-25
Project Name:
JDK
Resolved Date:
2011-04-25
Component:
hotspot
OS:
generic,windows_xp
Sub-Component:
compiler
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs19,hs21,7
Fixed Versions:
hs21 (b08)

Related Reports
Backport:
Duplicate:
Relates:
Relates:

Sub Tasks

Description
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.
                                     
2011-03-31
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/38fea01eb669
                                     
2011-03-31



Hardware and Software, Engineered to Work Together