JDK-8265208 : [JEP-356] : SplittableRandom and SplittableGenerators - splits() methods does not throw NullPointerException when source is null
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-14
  • Updated: 2021-05-18
  • Resolved: 2021-05-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b22Fixed
Related Reports
Cloners :  
Description
The split and splits methods which has SplittableRandom as source does not conform to the spec throwing NullPointerException when the source is null.

The methods behavior not conform to the spec : NullPointerException - if source is null
splits���(RandomGenerator.SplittableGenerator source)
splits(long, RandomGenerator.SplittableGenerator)


Comments
Changeset: 0cc7833f Author: Jim Laskey <jlaskey@openjdk.org> Date: 2021-05-10 18:52:02 +0000 URL: https://git.openjdk.java.net/jdk/commit/0cc7833f3d84971dd03a9a620585152a6debb40e
10-05-2021