RFR: 8318186: ChoiceFormat inconsistency between applyPattern() and setChoices()
Naoto Sato
naoto at openjdk.org
Mon Oct 23 18:04:28 UTC 2023
On Mon, 23 Oct 2023 17:16:08 GMT, Justin Lu <jlu at openjdk.org> wrote:
> Please review this PR which clarifies inconsistency between `ChoiceFormat::applyPattern` and `ChoiceFormat::setChoices`.
>
> A `ChoiceFormat` is composed of limits and formats. `applyPattern()` will throw an exception if limits are not in ascending order, while `setChoices()` will not. This should be clarified in the specification of `applyPattern()`.
Marked as reviewed by naoto (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/16317#pullrequestreview-1693182794
More information about the core-libs-dev
mailing list