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

Incorrect documentation of RandomGenerator.next(Float|Double)\(double, double\)

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      The documentation states that "The default implementation checks that origin and bound are positive finite ". It doesn't, and it shouldn't. It checks that origin < bound and that bound - origin is finite.


      FREQUENCY : always


            rgiulietti Raffaello Giulietti
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: