Updated unit test for BigInteger patch (#4837946)

Joe Darcy joe.darcy at oracle.com
Wed Jan 11 18:59:45 UTC 2012


On 01/09/2012 09:01 PM, Tim Buktu wrote:
> I updated BigIntegerTest so it tests the existing multiplication and
> division algorithms as well as the ones added by my (and Alan's)
> BigInteger patch.
>
> This patch also adds a 6th type of random number to the 5 already
> present. The new type outputs random numbers that contain long runs of
> 1-bits and 0-bits. GMP uses these numbers because apparently they are a
> good way to trigger bugs in bigint arithmetic.
>
> The patch is at https://gist.github.com/1586984
> The whole BigIntegerTest.java file is at https://gist.github.com/1586990
>
> I forgot to mention in my previous email that this is for bug 4837946.
> Thanks,
>
> Tim

Thanks Tim.  I'll add this to my review queue after Alan Eliasen's work 
(finally) gets in.

-Joe



More information about the core-libs-dev mailing list