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

ThreadLocalRandom spec says about additional methods which is not true anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 20
    • core-libs

      Currently, ThreadLocalRandom spec has the following clause:

      > This class also provides additional commonly used bounded random generation methods.

      However, with the introduction of RandomGenerator interface, all these methods were added to Random class as well, so ThreadLocalRandom does not provide any additional random generation methods. I suggest to remove this clause.

            rgiulietti Raffaello Giulietti
            tvaleev Tagir Valeev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: