JDK-8016735 : Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs24,hs25
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-06-17
  • Updated: 2013-07-02
  • Resolved: 2013-06-24
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 JDK 8 Other
7u40Fixed 8Fixed hs24Resolved
Related Reports
Duplicate :  
Description
  if (strcmp(name, "EnableInvokeDynamic") == 0 && UnlockExperimentalVMOptions && !UnlockDiagnosticVMOptions) {
      // transitional logic to allow tests to run until they are changed
      static int warned;
      if (++warned == 1) warning("Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag");
      return true;
    } 

Comments
You don't need release team approval for P4 bugs. I've removed the critical-request label.
20-06-2013

SQE is OK with this fix
20-06-2013

7u40-critical-request justification: Remove unintuitive warnings. Fix is simple. Risk is low. Reviewed-by: sla, dholmes Thanks Markus
20-06-2013

RULE bigapps/Kitchensink/nowarnings Unknown Found warnings in server log: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag RULE bigapps/Weblogic+medrec/nowarnings Unknown Found warnings in server log: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag RULE bigapps/Glassfish3+samples/nowarnings Unknown Found warnings in server log: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag RULE bigapps/runThese/nowarnings Unknown Found warnings in server log: Use -XX:+UnlockDiagnosticVMOptions before EnableInvokeDynamic flag
17-06-2013