Deprecate the memory-access methods in sun.misc.Unsafe for removal in a future release. These unsupported methods have been superseded by standard APIs, namely the VarHandle API (JEP 193, JDK 9) and the Foreign Function & Memory API (JEP 454, JDK 22). We strongly encourage library developers to migrate from sun.misc.Unsafe to supported replacements, so that applications can migrate smoothly to modern JDK releases.
- blocks
-
JDK-8323072 JEP 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
- Closed
- csr for
-
JDK-8331686 Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
- Closed
- relates to
-
JDK-8334137 Marlin: replace terminally deprecated sun.misc.Unsafe memory access methods
- Open
-
JDK-8334138 Suppress removal warnings for sun.misc.Unsafe memory access methods
- Resolved
(1 links to)