Skip to content
Permalink
Browse files

8264791: java/util/Random/RandomTestBsi1999.java failed "java.securit…

…y.SecureRandom nextFloat consecutive"

Reviewed-by: darcy, bpb, dcubed
  • Loading branch information
JimLaskey committed Apr 6, 2021
1 parent 4bb80f3 commit 0f13e2277fe727500949cbe036d236cae0267ac3
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/jdk/java/util/Random/RandomTestBsi1999.java
@@ -439,7 +439,9 @@ public static void main(String[] args) {
RandomGeneratorFactory.all().forEach(factory -> {
setRNG(factory.name());

if (factory.name().equals("Random")) {
if (currentRNG.equals("SecureRandom")) {
// skip because stochastic
} else if (currentRNG.equals("Random")) {
// testOneRng(factory.create(59), 1);
// autocorrelation failure for java.util.Random longs bit 0: count=2207 (should be in [2267,2733]), tau=2819

1 comment on commit 0f13e22

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 0f13e22 Apr 6, 2021

Please sign in to comment.