RFR: 8370250: Locale should mention the behavior for duplicate subtags [v3]

Naoto Sato naoto at openjdk.org
Tue Oct 21 19:29:19 UTC 2025


On Tue, 21 Oct 2025 17:45:26 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> Please review this PR which is a first stab at clarifying the behavior of duplicate variants, extension singletons, and U extension keys and attributes for BCP47 subtags in the Locale specification. This is a follow up to https://bugs.openjdk.org/browse/JDK-8369739.
>> 
>> Changes are made under the BCP47 and U extension sections that define "well-formed" in the class description.
>> Additionally, changes are made under the relevant Locale and Locale.Builder methods themselves.
>> 
>> Will update the CSR accordingly when the proposed wording changes are finalized.
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add 'subsequent' wording to setLanguageTag

The updated wording looks good

-------------

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27909#pullrequestreview-3362391549


More information about the core-libs-dev mailing list