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

Konstantin Shefov konstantin.shefov at oracle.com
Mon Aug 4 14:18:59 UTC 2014


Hi,

Fix looks fine to me.

-Konstantin

On 04.08.2014 18:03, vasily stolbov wrote:
>
>
>
> -------- Original Message --------
> Subject: 	RFR (XS) JDK-8051861 [TESTBUG] test 
> "java/math/BigInteger/BigIntegerTest.java" does not hold Random value 
> to have a possibility to reproduce it
> Date: 	Mon, 04 Aug 2014 17:45:02 +0400
> From: 	vasily stolbov <vasily.stolbov at oracle.com>
> Organization: 	Oracle Corporation
> To: 	core-libs-dev at openjdk.java.net
>
>
>
> 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 jdk9-dev mailing list