Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8016735

Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • hs24
    • hs24, hs25
    • hotspot
    • None
    • svc

          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;
            }

              mgronlun Markus Grönlund
              mgronlun Markus Grönlund
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: