RFR: 8248862: Implement Enhanced Pseudo-Random Number Generators [v42]

Jim Laskey jlaskey at openjdk.java.net
Mon Apr 5 14:20:56 UTC 2021

> 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 with a new target base due to a merge or a rebase. The pull request now contains 78 commits:

 - Merge branch 'master' into 8248862
 - Fix NotCompliantCauseTest to not rely on Random not being a bean
 - Merge branch 'master' into 8248862
 - Correct return type of RandomGeneratorFactory.of
 - Merge branch 'master' into 8248862
 - CSR review revisions
 - CSR review updates
 - Removed @since from nextDouble ThreadLocalRandom
 - RandomGeneratorFactory::all(Class<T> category) @implNote was out of date
 - Clarify all()
 - ... and 68 more: https://git.openjdk.java.net/jdk/compare/a8005efd...ffd982b0


Changes: https://git.openjdk.java.net/jdk/pull/1292/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1292&range=41
  Stats: 12973 lines in 27 files changed: 11202 ins; 1590 del; 181 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1292.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1292/head:pull/1292

PR: https://git.openjdk.java.net/jdk/pull/1292

More information about the security-dev mailing list