These deprecated methods were added to make jsr166.jar to run on
different JDK releases. I think it's time to remove these deprecated
xxxObject* methods as the renames have been done since JDK 12 for 5
years. I added a comment [1] to confirm with Doug and Martin.
Mandy
https://bugs.openjdk.org/browse/JDK-8207146?focusedId=14654891&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14654891
On 3/5/24 10:22 AM, Eirik Bjørsnøs wrote:
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