Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8332086 Remove the usage of ServiceLoader in j.u.r.RandomGeneratorFactory
  3. JDK-8332132

Release Note: Methods `RandomGeneratorFactory.create(long)` and `create(byte[])` Now Throw `UnsupportedOperationException` Instead of Falling Back to `create()`

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 23
    • None
    • core-libs

      In previous releases, `RGF.create(long)` falls back invoking the no-arg `create()` method if the underlying algorithm does not support a `long` seed.
      Similarly for `create(byte[])`.

      Starting with this release, these methods now throw an `UnsupportedOperationException` rather than silently falling back to `create()`.

            rgiulietti Raffaello Giulietti
            rgiulietti Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: