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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 17, 18
    • Fix Version/s: 19
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: