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

SplittableRandom extends AbstractSplittableGenerator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 17
    • 17
    • core-libs
    • None
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: