Hi Julia, I think this looks OK but I would consider expanding the scope to add the three methods to StrictMath as well. Either that or file a separate issue for that purpose.
Thanks, Brian > On Aug 13, 2019, at 3:16 AM, Julia Boes <[email protected]> wrote: > > This is a minor fix of the javadoc in java.lang.Math. The methods > decrementExact(), incrementExact() and negateExact() declare they throw a > ArithmeticException, and as such should be included in the list of operations > that can detect overflow in the class-level javadoc. > > Bug: https://bugs.openjdk.java.net/browse/JDK-8229337 > <https://bugs.openjdk.java.net/browse/JDK-8229337> > Webrev: http://cr.openjdk.java.net/~dfuchs/jboes/8229337/webrev.00/ > <http://cr.openjdk.java.net/~dfuchs/jboes/8229337/webrev.00/>
