RFR: 8279598: Provide adapter from RandomGenerator to Random
Yasser Bazzi
duke at openjdk.java.net
Fri Jan 28 00:55:12 UTC 2022
On Wed, 26 Jan 2022 17:49:42 GMT, Stuart Marks <smarks at openjdk.org> wrote:
> This will also need a regression test. It should have a case to ensure that `asRandom` returns `this` if it's already an instance of `Random`. Maybe also a simple case of shuffling a list, similar to the gist. Also see if there are some tests for Random already that this can be plugged into.
Will be doing the tests as soon as i can, thanks for the review
-------------
PR: https://git.openjdk.java.net/jdk/pull/7001
More information about the core-libs-dev
mailing list