Review: JDK 8 CR for Support Integer overflow updated

Roger Riggs Roger.Riggs at oracle.com
Thu Feb 16 16:05:01 UTC 2012


On 02/14/2012 05:20 PM, Jeff Hain wrote:
> Indeed "exact" can be understood as "mathematically exact", and it's 
> concise. The main problem I see with "exact" is if wanting to add some 
> non-throwing version afterwards: it should have a close but different 
> name, and I don't see how if using "xxxExact". But if such methods 
> shall never be added, it's all right.
The methods would not be added, these methods are introduced *to* throw 
exceptions.
The normal Java Language operators  { *, +, -, (int) } are used if no 
exceptions are needed.



More information about the core-libs-dev mailing list