RFR: 8229337: java.lang.Math class doc should be adjusted regarding -Exact methods

Julia Boes julia.boes at oracle.com
Tue Aug 13 16:12:39 UTC 2019

Hi Brian,

That's right, I created a separate issue for that (separate RFR to follow).



On 13/08/2019 15:43, Brian Burkhalter wrote:
> 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 <julia.boes at oracle.com 
>> <mailto:julia.boes at oracle.com>> 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
>> Webrev:http://cr.openjdk.java.net/~dfuchs/jboes/8229337/webrev.00/

More information about the core-libs-dev mailing list