RFR: JDK-8272326 java/util/Random/RandomTestMoments.java had two Gaussian fails

Brian Burkhalter bpb at openjdk.java.net
Tue Aug 17 15:21:25 UTC 2021


On Mon, 16 Aug 2021 12:32:34 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

> 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.

Marked as reviewed by bpb (Reviewer).

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

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


More information about the core-libs-dev mailing list