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

UnlockCommercialFeatures flag does not work in latest JDK 8

    Details

    • Subcomponent:
    • OS:
      linux_ubuntu

      Description

      UnlockCommercialFeatures flag does not work on Ubuntu in latest JDK 8.
      It works on windows.

      $ jdk1.8.0_192/bin/java -XX:+UnlockCommercialFeatures -XX:+FlightRecorder HelloWorld
      Error: Trying to use 'UnlockCommercialFeatures', but commercial features are not available in this VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      $ jdk1.8.0_192/bin/java -XX:+FlightRecorder HelloWorld
      Error: Trying to use 'FlightRecorder', but commercial features are not available in this VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      This is a regression, as it used to work with older JDK 8 releases (like 121).
      As a result commercial features are not working.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmatte Fairoz Matte
                Reporter:
                sballal Sharath Ballal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: