RFR (XS) JDK-8051861 [TESTBUG] test "java/math/BigInteger/BigIntegerTest.java" does not hold Random value to have a possibility to reproduce it

Joe Darcy joe.darcy at oracle.com
Thu Jul 24 15:52:19 UTC 2014


Hello,

If you are going to report the seed to the test log, that should be done 
unconditionally regardless of whether a passed in seed is being used.

Cheers,

-Joe

On 7/24/2014 7:39 AM, vasily stolbov wrote:
>
>
> Hi,
>
> Please review and help me with integration:
>
> Problem:
> java.math.BigInteger.BigIntegerTest  uses java.math.Random(), so we have
> no possibility to reproduce it.
>
> Solution:
> Test gets start random seed   from environment variable.
> If this variable not exists,  test write current random seed   to log.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8051861
> Fix: (in attachment)
>
> Best regards, Vasily
>
>
>




More information about the core-libs-dev mailing list