Code review request for 6560935: BigInteger.modPow() throws ArithmeticException for negative exponent

Alan Bateman Alan.Bateman at Sun.COM
Wed Oct 21 13:01:04 UTC 2009

Joseph D. Darcy wrote:
> Hello.
> Please review this small doc clarification; modPow is not defined for 
> negative exponents unless the BigInteger being operated on is 
> relatively prime to the modulus.  There are a few stylistic javadoc 
> cleanups in the patch below too.
> Webrev:
> Thanks,
> -Joe
This looks right (and the stylistic changes are okay too).


More information about the core-libs-dev mailing list