On Tue, 20 Oct 2026 22:14:07 GMT, Justin Lu <[email protected]> wrote:

> Clarify that `CompactNumberFormat` formatting that routes through the "0" 
> special pattern never produces output with fractional digits. This is 
> accomplished by doing a rewrite of the formatting section which now mentions 
> it and also shows an example. I don't find it necessary to add a warning to 
> `setMinimumFractionDigits` itself since none of the CNF setters propagate to 
> the underlying `DecimalFormat`, which is fully derived by the decimal pattern 
> (minus the fractional digits).
> 
> A CSR is required, and will be updated once the wording is finalized.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 0d327eba
Author:    Justin Lu <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/0d327eba3c536cb02db93fdd64de811fbcbdc947
Stats:     12 lines in 1 file changed: 0 ins; 1 del; 11 mod

8394568: Clarify that the CompactNumberFormat '0' pattern does not include 
fractions

Reviewed-by: naoto

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

PR: https://git.openjdk.org/jdk/pull/33482

Reply via email to