Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8270512 | 18 | Jim Laskey | P2 | Resolved | Fixed | b07 |
JDK-8270764 | 17.0.1 | Jim Laskey | P2 | Resolved | Fixed | b03 |
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.
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
- backported by
-
JDK-8270512 SplittableRandom extends AbstractSplittableGenerator
- Resolved
-
JDK-8270764 SplittableRandom extends AbstractSplittableGenerator
- Resolved
- csr for
-
JDK-8270313 SplittableRandom extends AbstractSplittableGenerator
- Closed
- relates to
-
JDK-8270060 (jdeprscan) tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java failed with class file for jdk.internal.util.random.RandomSupport not found
- Closed
(1 links to)