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

SplittableRandom extends AbstractSplittableGenerator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 17
    • 17
    • core-libs
    • None
    • b31

        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.

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

                Created:
                Updated:
                Resolved: