Hello,

Issue:  https://bugs.openjdk.java.net/browse/JDK-8029514
Webrev: http://cr.openjdk.java.net/~bpb/8029514/webrev/

The problem causing this failure is that the method getLower() used by 
Karatsuba multiplication is expected to return an unsigned value but instead 
returns 'this' if the parameter 'n' is not greater than the int-length of the 
BigInteger on which it is invoked. For multiplications in which there is a 
negative factor this could result in an incorrect product being obtained.

The BigIntegerTest is also updated to reflect the modified thresholds (should 
have been in the patch for 8022181 but was not …).

Thanks,

Brian

Reply via email to