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

    Details

    • Subcomponent:
    • Resolved In Build:
      b22

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: