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

compiler/aot/fingerprint/SelfChangedCDS.java fails with: Unrecognized VM option 'UnlockCommercialFeatures'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b156
    • x86
    • linux

        Running this test with OpenJDK fails because the option does, obviously, not exist:

        10:02:35 STDOUT:
        10:02:35 Command line: [/data/jenkins/workspace/jdk9-centos7/usr/lib/jvm/java-9-twitter/bin/java -cp /data/jenkins/workspace/jdk9-centos7/hotspot/testoutput/hotspot_compiler/JTwork/classes/2/compiler/aot/fingerprint:/data/jenkins/workspace/jdk9-centos7/hotspot/test/compiler/aot/fingerprint:/data/jenkins/workspace/jdk9-centos7/hotspot/testoutput/hotspot_compiler/JTwork/classes/2/test/lib:/data/jenkins/workspace/jdk9-centos7/hotspot/testoutput/hotspot_compiler/JTwork/classes/2:/data/jenkins/workspace/jdk9-centos7/jtreg/lib/javatest.jar:/data/jenkins/workspace/jdk9-centos7/jtreg/lib/jtreg.jar -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -XX:+UnlockDiagnosticVMOptions -cp SelfChangedCDS.jar -XX:ExtraSharedClassListFile=SelfChangedCDS.classlist -XX:SharedArchiveFile=SelfChangedCDS.jsa -Xshare:dump -XX:+PrintSharedSpaces ]
        10:02:35 STDERR:
        10:02:35 stdout: [];
        10:02:35 stderr: [Unrecognized VM option 'UnlockCommercialFeatures'
        10:02:35 Error: Could not create the Java Virtual Machine.
        10:02:35 Error: A fatal exception has occurred. Program will exit.
        10:02:35 ]

              kvn Vladimir Kozlov
              twisti Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: