On Sun, 29 Jun 2025 20:34:44 GMT, Kim Barrett <kbarr...@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