<i18n dev> Integrated: 6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Justin Lu
jlu at openjdk.org
Wed Sep 13 20:35:48 UTC 2023
On Tue, 22 Aug 2023 19:18:35 GMT, Justin Lu <jlu at openjdk.org> wrote:
> Please review this PR and associated [CSR](https://bugs.openjdk.org/browse/JDK-8314546) which expands on the `java.text.ChoiceFormat` specification regarding its pattern.
>
> `j.text.ChoiceFormat` provides an example pattern in the class description, but beyond that it does not specify any well-defined syntax for creating a pattern. In addition, methods related to the pattern String are under-specified.
>
> The wording for `getLimits()` and `getFormats()` was also adjusted, as there are other ways to set the limits and formats beyond the constructor.
>
> The pattern syntax may be easier to view -> https://cr.openjdk.org/~jlu/api/java.base/java/text/ChoiceFormat.html
This pull request has now been integrated.
Changeset: ce93d27f
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ce93d27fe5725af6424573ceb29cc12f20165f69
Stats: 134 lines in 1 file changed: 87 ins; 18 del; 29 mod
6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/15392
More information about the i18n-dev
mailing list