hg: jdk9/dev/jdk: 8074460: Always print seeds used in [Splittable]Random instances in java.math tests

brian.burkhalter at oracle.com brian.burkhalter at oracle.com
Sat Mar 7 15:17:37 UTC 2015


Changeset: 50ccf30fafcd
Author:    bpb
Date:      2015-03-06 16:00 -0800
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/50ccf30fafcd

8074460: Always print seeds used in [Splittable]Random instances in java.math tests
Summary: Create a utility class which creates a pseudorandom number generator (PRNG) and retains the seed. Use this class in java.math tests which use a PRNG. Always print the seed value before the PRNG is used.
Reviewed-by: darcy

! test/java/math/BigDecimal/StringConstructor.java
! test/java/math/BigInteger/BigIntegerTest.java
! test/java/math/BigInteger/ModPow65537.java
! test/java/math/BigInteger/PrimeTest.java
! test/java/math/BigInteger/SymmetricRangeTests.java
+ test/java/math/RandomSeed.java



More information about the jdk9-dev-changes mailing list