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

CodelistTest.java fails with "Test failed on: jdk.internal.misc.Unsafe.getUnsafe()Ljdk/internal/misc/Unsafe;"

XMLWordPrintable

    • b105
    • Verified

      The same problem was fixed by JDK-8134641 but the location of Unsafe changed from "sun.misc.Unsafe.getUnsafe" to "jdk.internal.misc.Unsafe" so the fix needs to be adapted.

      test CodelistTest.jmx(): failure
      java.lang.AssertionError: Test failed on: jdk.internal.misc.Unsafe.getUnsafe()Ljdk/internal/misc/Unsafe;
      at org.testng.Assert.fail(Assert.java:94)
      at CodelistTest.run(CodelistTest.java:107)
      at CodelistTest.jmx(CodelistTest.java:118)

            jbachorik Jaroslav BachorĂ­k
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: