RFR: 8338882: Clarify matching order of MessageFormat subformat factory styles [v2]
Naoto Sato
naoto at openjdk.org
Thu Aug 29 22:11:19 UTC 2024
On Thu, 29 Aug 2024 21:45:32 GMT, Justin Lu <jlu at openjdk.org> wrote:
>> Please review this PR which clarifies that the matching order of format styles for MessageFormat sub formats is not guaranteed. A corresponding CSR has also been drafted.
>>
>> This is relevant when a locale provides equivalent patterns for multiple format factory styles. For example, a locale X could provide some equivalent date style "xyz" for both a MEDIUM and LONG style. Thus invoking toPattern() could output `date`, `date,medium`, or `date,long` depending on the order of such matching.
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
>
> revise wording
LGTM
-------------
Marked as reviewed by naoto (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20695#pullrequestreview-2270324203
More information about the core-libs-dev
mailing list