RFR: JDK-8272326 java/util/Random/RandomTestMoments.java had two Gaussian fails
Jim Laskey
jlaskey at openjdk.java.net
Mon Aug 16 12:40:37 UTC 2021
RandomTestMoments.java and RandomTestChiSquared.java expect successive calls to nextLong to reproduce the same sequence of values. SecureRandom, by its nature, does not follow this requirement. The patch filters out SecureRandom from these tests.
-------------
Commit messages:
- Filter out SecureRandom
Changes: https://git.openjdk.java.net/jdk/pull/5124/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5124&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8272326
Stats: 5 lines in 2 files changed: 3 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/5124.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5124/head:pull/5124
PR: https://git.openjdk.java.net/jdk/pull/5124
More information about the core-libs-dev
mailing list