On Wed, 6 Jan 2021 16:09:25 GMT, Brett Okken <github.com+2996845+bok...@openjdk.org> wrote:
>> 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? In practice terms yes. The point is that the user should not assume they will be getting the same algorithm each time. ------------- PR: https://git.openjdk.java.net/jdk/pull/1292