SplittableRandom extends AbstractSplittableGenerator

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 17
    • Affects Version/s: 17
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: