RFR: JDK-8308040 Evaluate new public types in non-public classes

Roger Riggs rriggs at openjdk.org
Wed May 24 18:50:34 UTC 2023


On Wed, 17 May 2023 19:14:20 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

> As reported by Marc Hoffman of javaalmanac.io, in a recent JDK 21 build there are new public types nested in non-public interfaces: 
> 
> java.lang.runtime.ReferenceKey.SoftKey 
> java.lang.runtime.ReferenceKey.StrongKey 
> java.lang.runtime.ReferenceKey.WeakKey 
> java.util.Digits.DecimalDigits 
> java.util.Digits.HexDigits 
> java.util.Digits.OctalDigits
> 
> This PR moves the nested classes to neighbouring package private classes

Looks good, a straight-forward rename/move of nested classes to package-private classes implementing a package-private interface.

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14039#pullrequestreview-1442543998


More information about the core-libs-dev mailing list