RFR: 8265208: [JEP-356] : SplittableRandom and SplittableGenerators - splits() methods does not throw NullPointerException when source is null

Jim Laskey jlaskey at openjdk.java.net
Wed Apr 14 17:38:50 UTC 2021

Add check for null.


Commit messages:
 - Check for null source
 - Make makeXXXSpliterator final
 - Move makeXXXSpilterator from public (@hidden) to protected. No API change.

Changes: https://git.openjdk.java.net/jdk/pull/3495/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3495&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265208
  Stats: 178 lines in 4 files changed: 28 ins; 131 del; 19 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3495.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3495/head:pull/3495

PR: https://git.openjdk.java.net/jdk/pull/3495

More information about the core-libs-dev mailing list