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

[JVMCI] jdk.internal.jvmci.runtime.tests fail on windows w/ JVMCIError: Unexpected OS name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot

      Description

      ----------messages:(3/289)----------
      command: junit -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI jdk.internal.jvmci.runtime.test.ConstantTest
      reason: User specified action: run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI jdk.internal.jvmci.runtime.test.ConstantTest
      elapsed time (seconds): 12.457
      ----------System.out:(0/0)----------
      ----------System.err:(26/1871)----------
      jdk.internal.jvmci.common.JVMCIError: Unexpected OS name: Windows Server 2012 R2
      at jdk.internal.jvmci.hotspot.HotSpotVMConfig.getHostOSName(HotSpotVMConfig.java:303)
      at jdk.internal.jvmci.hotspot.HotSpotVMConfig.initialize(HotSpotVMConfig.java:151)
      at jdk.internal.jvmci.hotspot.HotSpotVMConfig.<init>(HotSpotVMConfig.java:76)
      at jdk.internal.jvmci.hotspot.HotSpotJVMCIRuntime.<init>(HotSpotJVMCIRuntime.java:128)
      at jdk.internal.jvmci.hotspot.HotSpotJVMCIRuntime.<init>(HotSpotJVMCIRuntime.java:40)
      at jdk.internal.jvmci.hotspot.HotSpotJVMCIRuntime$DelayedInit.<clinit>(HotSpotJVMCIRuntime.java:67)
      at jdk.internal.jvmci.hotspot.HotSpotJVMCIRuntime.runtime(HotSpotJVMCIRuntime.java:81)
      at jdk.internal.jvmci.runtime.JVMCI.initializeRuntime(Native Method)
      at jdk.internal.jvmci.runtime.JVMCI.<clinit>(JVMCI.java:58)
      at jdk.internal.jvmci.runtime.test.TypeUniverse.<clinit>(TypeUniverse.java:50)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:287)
      at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:92)
      at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:519)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:746)

      JavaTest Message: Test threw exception: jdk.internal.jvmci.common.JVMCIError: Unexpected OS name: Windows Server 2012 R2
      JavaTest Message: shutting down test

        Attachments

          Activity

            People

            • Assignee:
              twisti Christian Thalinger
              Reporter:
              iignatyev Igor Ignatyev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: