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

Unable to run jtreg tests with MinimalVM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • b131
    • linux

      java -jar jtreg.jar -va -nr -vmoption:-minimal CDS.java
      Exception in thread "main" java.lang.InternalError: Unsupported Management version
              at java.lang.ClassLoader$NativeLibrary.load(java.base@9-internal/Native Method)
              at java.lang.ClassLoader.loadLibrary0(java.base@9-internal/ClassLoader.java:2350)
              at java.lang.ClassLoader.loadLibrary(java.base@9-internal/ClassLoader.java:2256)
              at java.lang.Runtime.loadLibrary0(java.base@9-internal/Runtime.java:875)
              at java.lang.System.loadLibrary(java.base@9-internal/System.java:1818)
              at java.lang.management.ManagementFactory.lambda$static$8(java.management@9-internal/ManagementFactory.java:1010)
              at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
              at java.lang.management.ManagementFactory.<clinit>(java.management@9-internal/ManagementFactory.java:1009)
              at requires.VMProps.vmFlightRecorder(VMProps.java:134)
              at requires.VMProps.call(VMProps.java:58)
              at requires.VMProps.call(VMProps.java:44)
              at com.sun.javatest.regtest.agent.GetJDKProperties.main(GetJDKProperties.java:49)

            mchernov Michail Chernov
            ctornqvi Christian Tornqvist
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: