Unsafe can only be used by boot modules (if VM::isSystemDomainLoader returns true). There are existing (or planned to be) platform modules that would also like to use it. Maybe the restriction can be relaxed.
- relates to
-
JDK-8261400 Reflection member filtering registration might be flawed
-
- Open
-
-
JDK-8161947 runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev
-
- Resolved
-