Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • hs24
    • Affects Version/s: hs24, hs25
    • Component/s: 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;
            }

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

                Created:
                Updated:
                Resolved: