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

Jim Laskey jlaskey at openjdk.java.net
Fri Feb 19 13:00:44 UTC 2021


On Wed, 25 Nov 2020 13:55:32 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> src/java.base/share/classes/java/util/random/RandomGenerator.java line 745:
>> 
>>> 743:      * if the period is unknown.
>>> 744:      */
>>> 745:     BigInteger UNKNOWN_PERIOD = BigInteger.ZERO;
>> 
>> move those 3 values into RandomGeneratorFactory ?
>
> Will ponder on this one. I tend to agree with you since they are most likely to be used for filtering factories RandomGeneratorFactory querying was a later development. period() originally was a RandomGenerator query, but got moved when more queries were added. This will require a CSR and will come later.

Now unused and removed.

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

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



More information about the security-dev mailing list