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

Jim Laskey jlaskey at openjdk.java.net
Thu Feb 4 12:42:00 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 44 commits:

 - Merge branch 'master' into 8248862
 - Update SplittableRandom to remove unnecessary overrides
 - Updated API based on CSR review.
 - Update package info to credit LMX algorithm
 - Merge branch 'master' into 8248862
 - Correct range used by nextBytes
 - Merge branch 'master' into 8248862
 - Use annotation for properties. Add getDefault().
 - Merge branch 'master' into 8248862
 - Introduce RandomGeneratorProperties annotation
 - ... and 34 more: https://git.openjdk.java.net/jdk/compare/83357b11...1c17ad35

-------------

Changes: https://git.openjdk.java.net/jdk/pull/1292/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1292&range=15
  Stats: 13259 lines in 26 files changed: 11119 ins; 2050 del; 90 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