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

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

XMLWordPrintable

    • b22

      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)

            jlaskey Jim Laskey
            kganapureddy Krushnareddy Ganapureddy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: