Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8308040

Evaluate new public types in non-public classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • core-libs
    • b25
    • Verified

      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

            jlaskey Jim Laskey
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: