8215759: java/math/BigInteger/ModPow.java can throw an ArithmeticException

Brian Burkhalter brian.burkhalter at oracle.com
Fri Dec 21 00:36:33 UTC 2018


https://bugs.openjdk.java.net/browse/JDK-8215759
http://cr.openjdk.java.net/~bpb/8215759/webrev.00/

Although highly unlikely, the modulus parameter of modPow() can be zero which would provoke an ArithmeticException.
Unsure whether I need this bug ID in the @bug list.

Thanks,

Brian


More information about the core-libs-dev mailing list