Chris Hegarty
008fee0591
8079782: RandomFactory should be in the jdk.testlibrary package
...
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Brian Burkhalter
30e8183ee8
8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
...
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.
Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Joe Darcy
86c109e149
8078334: Mark regression tests using randomness
...
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Brian Burkhalter
f9a9e68c05
8074460: Always print seeds used in [Splittable]Random instances in java.math tests
...
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
2015-03-06 16:00:58 -08:00
Brian Burkhalter
f707a2fd5a
8027595: Enable BigInteger overflow tests in JTREG
...
Remove space in @test tags, remove OOME catches, add @run tag for StringConstructorOverflow.
Reviewed-by: mduigou
2014-04-18 14:03:46 -07:00
Dmitry Nadezhin
9e7ba92bff
6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers
...
8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity
8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow
8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() overflow
Prevent construction of overflowed BigIntegers.
Reviewed-by: bpb, darcy, psandoz
2013-10-30 17:45:12 -07:00