RFR: 8229337: java.lang.Math class doc should be adjusted regarding -Exact methods
julia.boes at oracle.com
Tue Aug 13 16:12:39 UTC 2019
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.
>> 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.
More information about the core-libs-dev