RFD: Can we remove the deprecated internal Unsafe *Object* methods?

Eirik Bjørsnøs eirbjo at gmail.com
Tue Mar 5 18:22:42 UTC 2024


Hi,

Now that the JDK  repo is the single source of truth for
java.util.concurrent [1], I'm wondering if time has come to remove the
deprecated *Object* methods introduced in JDK-8213043 [2]

These alias methods were introduced because jsr166 used them, but there no
longer seems to be any use within the OpenJDK (verified by removing them
and running java.util.concurrent tests).

Hearing no objections I'll prepare a PR to remove these 19 deprecated, for
removal methods.

Eirik.

[1]
https://mail.openjdk.org/pipermail/core-libs-dev/2024-February/119047.html
[2] https://bugs.openjdk.org/browse/JDK-8213043
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20240305/76e3a789/attachment.htm>


More information about the core-libs-dev mailing list