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

Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: hs24, hs25
    • Fix Version/s: hs24
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      svc

      Backports

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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: