runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • b131

      The test runtime/Unsafe/GetUnsafe.java is failing because JDK-8161129 updated the Unsafe.getUnsafe method to remove the calling class loader check, since Jigsaw will enforce access control.

      The test is no longer relevant and can be deleted. There already exists a test, sun/misc/Safe.java, located in the JDK repo test area that tests sun.misc.Unsafe.getUnsafe (the test name could arguably be better named).

            Assignee:
            Paul Sandoz
            Reporter:
            Alejandro Murillo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: