RFR: 8264161: BigDecimal#stripTrailingZeros can throw undocumented ArithmeticException [v2]
Brian Burkhalter
bpb at openjdk.java.net
Thu Mar 25 20:47:28 UTC 2021
On Thu, 25 Mar 2021 19:55:44 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> While some of the existing text in BigDecimal could be read as implying exponent overflow/underflow will throw an ArithmeticException, it is reasonable to simply state that explicitly.
>>
>> The next text is meant to cover the usage of the checkScale family of methods.
>>
>> I'll reflow the existing paragraph once the text is agreed to.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>
> Respond to review feedback.
Looks fine.
-------------
Marked as reviewed by bpb (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3204
More information about the core-libs-dev
mailing list