RFR: 8279598: Provide adapter from RandomGenerator to Random [v18]

Yasser Bazzi duke at openjdk.java.net
Wed Mar 16 14:56:33 UTC 2022


On Wed, 16 Mar 2022 06:51:37 GMT, Stuart Marks <smarks at openjdk.org> wrote:

>> Yasser Bazzi has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix SplittableRandomTest.
>
> src/java.base/share/classes/java/util/Random.java line 320:
> 
>> 318:      * @param generator the {@code RandomGenerator} calls are delegated to
>> 319:      * @return the delegating {@code Random} instance
>> 320:      * @throws NullPointerException if generator is null
> 
> One more small thing. Add this line after the `@throws` line:
> 
>      * @since 19
> 
> Thanks.

Added

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

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


More information about the core-libs-dev mailing list