On Thu, 19 Nov 2026 22:56:05 GMT, Justin Lu <[email protected]> wrote:
> Changes to `CompactNumberFormat` do not affect the formatting when general > number formatting is used. The specification needs to better define general > versus compact number formatting to make this behavior clear. This gets rid > of any misconceptions which may cause users to believe something such as > `setGroupingUsed(true)` should imply that general number formatting uses > grouping as well, even if the `decimalPattern` provided does not define > grouping in the pattern. > > --------- > - [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: 65d809fe Author: Justin Lu <[email protected]> URL: https://git.openjdk.org/jdk/commit/65d809fee3a8631cd3b75683ce32a00ce506a605 Stats: 19 lines in 1 file changed: 9 ins; 0 del; 10 mod 8397717: Explicitly define and clarify general number formatting for CompactNumberFormat Reviewed-by: naoto ------------- PR: https://git.openjdk.org/jdk/pull/33985
