Unable to run jtreg tests with MinimalVM

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: 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)

            Assignee:
            Michail Chernov
            Reporter:
            Christian Tornqvist
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: