RFR: 8342380: Implement JEP 498: Warn upon Use of Memory-Access Methods in sun.misc.Unsafe [v3]

Alan Bateman alanb at openjdk.org
Tue Nov 26 12:31:42 UTC 2024


On Mon, 25 Nov 2024 19:10:05 GMT, Chen Liang <liach at openjdk.org> wrote:

> I noted that `sun.misc.Unsafe` is currently missing warnings for `arrayIndexScale` and `addressSize` deprecated in JEP 471. Without warnings, developers may miss these two methods for migration.

Yes, may have been missed in JDK 23, I'll create a separate issue in JBS to re-check these. Thanks for spotting.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21762#issuecomment-2500667312


More information about the core-libs-dev mailing list