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

Jim Laskey jlaskey at openjdk.java.net
Mon Mar 22 18:14:09 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 incrementally with two additional commits since the last revision:

 - RandomGeneratorFactory::all(Class<T> category) @implNote was out of date
 - Clarify all()

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1292/files
  - new: https://git.openjdk.java.net/jdk/pull/1292/files/5e98d915..4562dd13

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1292&range=33
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1292&range=32-33

  Stats: 16 lines in 2 files changed: 3 ins; 0 del; 13 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