New candidate JEP: 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
Alan Bateman
Alan.Bateman at oracle.com
Tue May 14 05:48:48 UTC 2024
On 13/05/2024 19:46, David Lloyd wrote:
> :
>
> I'm open to other ideas as well. But this does seem like a significant
> roadblock to me, which would prevent our products from moving to 23 or
> later.
>
I assume you mean JDK 26 or whatever release that phase 3 of the plan in
the JEP is proposed.
To add to Ron's reference to sun.reflect.ReflectionFactory. The
additions in JDK 9 (and JDK 8u) were done to allow serialization
libraries get method handles for the readObject/writeObject and other
magic methods. A temporary crutch until there is an alternative to this
old serialization in the future.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20240514/956fdaf7/attachment-0001.htm>
More information about the jdk-dev
mailing list