JDK-8016735 : Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
  • Type: Bug
  • Status: Resolved
  • Resolution: Duplicate
  • Component: hotspot
  • Sub-Component: svc
  • Priority: P4
  • Affected Version: hs24,hs25
  • Submit Date: 2013-06-17
  • Updated Date: 2013-07-02
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8Resolved
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.
2013-06-20

SQE is OK with this fix
2013-06-20

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

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
2013-06-17