RFR: 8262744: Formatter '%g' conversion uses wrong format for BigDecimal rounding up to limits [v3]
bpb at openjdk.java.net
Fri Apr 16 17:36:37 UTC 2021
On Fri, 16 Apr 2021 16:08:53 GMT, Ian Graves <igraves at openjdk.org> wrote:
>> This fixes a bug where the formatting code for `%g` flags incorrectly tries to round `BigDecimal` after determining whether it should be a decimal numeric format or a scientific numeric format. The solution rounds before determining the correct format.
> Ian Graves has updated the pull request incrementally with one additional commit since the last revision:
> Inlining some single use variables
I think this looks all right. I assume you ran all the `java.math` tests.
Marked as reviewed by bpb (Reviewer).
More information about the core-libs-dev