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

Jim Laskey jlaskey at openjdk.java.net
Mon Nov 23 15:20:01 UTC 2020


On Mon, 23 Nov 2020 14:57:59 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> src/java.base/share/classes/module-info.java line 250:
>> 
>>> 248:     exports jdk.internal.util.xml.impl to
>>> 249:         jdk.jfr;
>>> 250:     exports jdk.internal.util.random;
>> 
>> Unqualified export, should this be `to jdk.random`?
>
> I guess you are right. Until we have a defined SPI we should restrict.

On the other hand:

public class Random extends AbstractSpliteratorGenerator
                            ^
error: warnings found and -Werror specified

public final class SplittableRandom extends AbstractSplittableGenerator {

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

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


More information about the security-dev mailing list