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

ExE Boss duke at openjdk.org
Mon May 19 18:49:52 UTC 2025


On Sun, 18 May 2025 20:50:41 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/nio/Cleaner.java line 26:
>> 
>>> 24:  */
>>> 25: 
>>> 26: package jdk.internal.nio;
>> 
>> The implementation/internal classes for this area are in sun.nio (for historical reasons). Probably best to keep them together.
>
> Good point.  Done.

But `MhUtil` was added to the newly created `jdk.internal.invoke` package in <https://github.com/openjdk/jdk/pull/20972> instead of adding it to the pre‑existing `sun.invoke` package.

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

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


More information about the core-libs-dev mailing list