JDK-8036956 : remove EnableInvokeDynamic flag
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-03-07
  • Updated: 2017-05-17
  • Resolved: 2014-04-29
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 9
9 b14Fixed
Sub Tasks
JDK-8177130 :  
Description
Now that HSX is dead we can remove the EnableInvokeDynamic flag and all the legacy code that comes with it.  After all it's not possible to run JDK 9 on a VM without invokedynamic support anyway:

$ java -XX:+UnlockDiagnosticVMOptions -XX:-EnableInvokeDynamic
Error occurred during initialization of VM
java/lang/ClassFormatError: This JVM does not support constant tag 18 in class file java/lang/CharSequence