On Wed, 6 Jan 2021 15:36:21 GMT, Jim Laskey <jlas...@openjdk.org> wrote:
>> This PR is to introduce a new random number API for the JDK. The primary API >> is found in RandomGenerator and RandomGeneratorFactory. Further description >> can be found in the JEP https://openjdk.java.net/jeps/356 . >> >> javadoc can be found at >> http://cr.openjdk.java.net/~jlaskey/prng/doc/api/java.base/java/util/random/package-summary.html >> >> old PR: https://github.com/openjdk/jdk/pull/1273 > > Jim Laskey has updated the pull request incrementally with one additional > commit since the last revision: > > Correct range used by nextBytes src/java.base/share/classes/java/util/random/RandomGenerator.java line 147: > 145: * > 146: * @implNote Since algorithms will improve over time, there is no > 147: * guarantee that this method will return the same algorithm each > time. is there a guarantee that within a running jvm each invocation will return the same algorithm? ------------- PR: https://git.openjdk.java.net/jdk/pull/1292