<i18n dev> Integrated: 4745837: Make grouping usage during parsing apparent in relevant NumberFormat methods
Justin Lu
jlu at openjdk.org
Tue Mar 4 17:11:59 UTC 2025
On Wed, 26 Feb 2025 22:18:17 GMT, Justin Lu <jlu at openjdk.org> wrote:
> Please review this PR which clarifies some behavior regarding NumberFormat grouping specifically in the grouping related methods.
>
> Please see the corresponding CSR for further detail. Note that an alternative would be to specify this at the DecimalFormat level, allowing NumberFormat subclasses to define this behavior how they want. IMO, I would expect `setGroupingUsed(boolean)` to affect both; a subclass could define `(is|set)(Parsing|Formatting)GroupingUsed` if need be, thus the proposed solution.
This pull request has now been integrated.
Changeset: 5b8d3491
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5b8d3491bf685a64b72b0ae763697353d09f61a1
Stats: 14 lines in 1 file changed: 9 ins; 0 del; 5 mod
4745837: Make grouping usage during parsing apparent in relevant NumberFormat methods
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/23813
More information about the i18n-dev
mailing list