Joseph D. Darcy wrote:
Hello.

Please review this simple improvement in handling an exceptional condition in BigInteger. A stack overflow on an argument of BigInteger.shitf{Left, Right}(Integer.MIN_VALUE) is handled as an explicit ArithmeticException, the same exception used throughout BigInteger for other invalid inputs.

Patch below; webrev at
http://cr.openjdk.java.net/~darcy/6371401.0/

Thanks,

-Joe
This looks okay to me. Minor comment is that ExtremeShiftingTests probably doesn't need to import java.math.

-Alan.

Reply via email to