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).
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).
- relates to
-
JDK-8161129 Unsafe::getUnsafe should allow the platform class loader to access it
-
- Resolved
-