RFR: 8315938: Deprecate for removal Unsafe methods that have standard APIs for many releases

Alan Bateman alanb at openjdk.org
Mon Sep 11 06:52:37 UTC 2023


On Mon, 11 Sep 2023 06:31:33 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Currently, all deprecated methods of `Unsafe` are at the end of the file.

Are you looking at the internal Unsafe, rather than sun.misc.Unsafe? This PR is sun.misc.Unsafe only. Previous deprecation didn't re-order the methods. With VarHandles in 9, and FFM highly likely to become permanent in 22, then we'll probably see a lot more deprecation, degrading and removing of methods. It would be noisy to reshuffle at every step.

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

PR Comment: https://git.openjdk.org/jdk/pull/15641#issuecomment-1713271383


More information about the core-libs-dev mailing list