Review: JDK 8 CR for Support Integer overflow updated

Roger Riggs Roger.Riggs at
Mon Feb 13 21:32:11 UTC 2012

Thanks for the raising the question on the blog and the comments.

I see support based only on general principles and not from use cases
where the function would be essential.  At this point, we're not trying to
provide a complete set of exact arithmetic functions but to cover the cases
where developers can benefit from not having to deal with the tricky 
parts themselves.

On 02/13/2012 12:52 PM, Stephen Colebourne wrote:
> On 11 February 2012 17:31, Roger Riggs<Roger.Riggs at>  wrote:
>> Updated the webrev for CR6708398:
>>   - Added a paragraph to the class javadoc for Math and StrictMath to
>>    introduce the exact arithmetic methods and their uses.
>>   - Editorial correction to first sentence of each method to consistent use
>> "Returns".
>>   - Added Tests for the StrictMath methods  (they are the same tests as for
>> Math)
> In case you didn't see it, the question as to what to include was asked here
> The answers were inconclusive, however I would argue that negate has
> enough supporters to justify inclusion.
> Stephen

More information about the core-libs-dev mailing list