On Sun, 10 Mar 2024 05:50:33 GMT, Eirik Bjørsnøs <eir...@openjdk.org> wrote:
> Please review this PR which removes the 19 deprecated `xxObject*` alias > methods from `jdk.internal.misc.Unsafe`. > > These methods were added in JDK-8213043 (JDK 12), presumably to allow > `jsr166.jar` to be used across JDK versions. This was a follow-up fix after > JDK-8207146 had renamed these methods to `xxReference*'. > > Since OpenJDK is now the single source of truth for `java.util.concurrent`, > time has come to remove these deprecated alias methods. > > This change was initially discussed here: > https://mail.openjdk.org/pipermail/core-libs-dev/2024-March/119993.html > > Testing: This is a pure deletion of deprecated methods, so the PR includes no > test changes and the `noreg-cleanup` label is added in the JBS. I have > verified that all `test/jdk/java/util/concurrent/*` tests pass. > > Tagging @DougLea and @Martin-Buchholz to verify that this removal is timely. This pull request has now been integrated. Changeset: 5b414662 Author: Eirik Bjørsnøs <eir...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/5b4146627580834bcd3ad0962d07d0d374fe3cce Stats: 94 lines in 4 files changed: 0 ins; 87 del; 7 mod 8327729: Remove deprecated xxxObject methods from jdk.internal.misc.Unsafe Reviewed-by: martin, alanb, mchung ------------- PR: https://git.openjdk.org/jdk/pull/18176