RFR: 8344332: (bf) Migrate DirectByteBuffer away from jdk.internal.ref.Cleaner [v2]

Brent Christian bchristi at openjdk.org
Mon Jun 30 23:53:40 UTC 2025


On Sun, 29 Jun 2025 20:34:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> I would be in favor of renaming to avoid ambiguity. There is already `java.lang.ref.Cleaner` and `jdk.internal.ref.Cleaner`, and now this `Cleaner` is really the same thing as `java.lang.ref.Cleaner.Cleanable`.
>> It could be done as a follow-on change, if need-be.
>
> Note that `jdk.internal.ref.Cleaner` is no longer used after this change. PR 22165 would have
> removed it. I'd like to leave some of the cleanup, including long-term choice of naming that
> internal class, for later.

Sure, that's fine.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25289#discussion_r2176153935


More information about the core-libs-dev mailing list