RFR: 8264161: BigDecimal#stripTrailingZeros can throw undocumented ArithmeticException [v2]
Joe Darcy
darcy at openjdk.java.net
Thu Mar 25 19:55:44 UTC 2021
> 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.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3204/files
- new: https://git.openjdk.java.net/jdk/pull/3204/files/05ed1753..f427ba56
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3204&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3204&range=00-01
Stats: 12 lines in 1 file changed: 0 ins; 1 del; 11 mod
Patch: https://git.openjdk.java.net/jdk/pull/3204.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3204/head:pull/3204
PR: https://git.openjdk.java.net/jdk/pull/3204
More information about the core-libs-dev
mailing list