On Tue, 6 Apr 2021 20:34:52 GMT, Ian Graves <igra...@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.

This pull request has now been integrated.

Changeset: 0bdc3e7a
Author:    Ian Graves <igra...@openjdk.org>
Committer: Roger Riggs <rri...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0bdc3e7a
Stats:     66 lines in 2 files changed: 62 ins; 1 del; 3 mod

8262744: Formatter '%g' conversion uses wrong format for BigDecimal rounding up 
to limits

Reviewed-by: rriggs, bpb

-------------

PR: https://git.openjdk.java.net/jdk/pull/3363

Reply via email to