Integrated: 8264161: BigDecimal#stripTrailingZeros can throw undocumented ArithmeticException
Joe Darcy
darcy at openjdk.java.net
Thu Mar 25 20:47:29 UTC 2021
On Thu, 25 Mar 2021 19:30:01 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.
This pull request has now been integrated.
Changeset: 25931966
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/25931966
Stats: 17 lines in 1 file changed: 5 ins; 2 del; 10 mod
8264161: BigDecimal#stripTrailingZeros can throw undocumented ArithmeticException
Reviewed-by: bpb
-------------
PR: https://git.openjdk.java.net/jdk/pull/3204
More information about the core-libs-dev
mailing list