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

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P4
    • 23
    • Affects Version/s: 23
    • Component/s: core-libs

      In previous releases, `RandomGeneratorFactory.create(long)` falls back by invoking the no-arg `create()` method if the underlying algorithm does not support a `long` seed. The `create(byte[])` method works in a similar fashion.

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

            Assignee:
            Raffaello Giulietti
            Reporter:
            Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: