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

SplittableRandom extends AbstractSplittableGenerator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b31

      Backports

        Description

        The java.util.SplittableRandom class extends AbstractSplittableGenerator, which is in a non-exported package. Public exported classes should preferably not extend classes from non-exported packages.

        As a small related issue, src/java.base/share/classes/java/util/Random.java still uses @SuppressWarnings("exports"), although that is not necessary there.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlaskey Jim Laskey
                Reporter:
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: