United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8016735 Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
JDK-8016735 : Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check

Details
Type:
Bug
Submit Date:
2013-06-17
Status:
Resolved
Updated Date:
2013-07-02
Project Name:
JDK
Resolved Date:
2013-06-24
Component:
hotspot
OS:
Sub-Component:
svc
CPU:
Priority:
P4
Resolution:
Duplicate
Affected Versions:
hs24,hs25
Fixed Versions:
hs24

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Duplicate:

Sub Tasks

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
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
7u40-critical-request justification:

Remove unintuitive warnings.

Fix is simple. Risk is low.

Reviewed-by: sla, dholmes

Thanks
Markus
                                     
2013-06-20
SQE is OK with this fix
                                     
2013-06-20
You don't need release team approval for P4 bugs.  I've removed the critical-request label.
                                     
2013-06-20



Hardware and Software, Engineered to Work Together