<i18n dev> RFR: 8370250: Locale should mention the behavior for duplicate subtags [v2]

Justin Lu jlu at openjdk.org
Tue Oct 21 16:34:24 UTC 2025


> 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:

  Reflect Naoto's review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27909/files
  - new: https://git.openjdk.org/jdk/pull/27909/files/5c3fafd3..59f52b32

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27909&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27909&range=00-01

  Stats: 7 lines in 1 file changed: 3 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/27909.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27909/head:pull/27909

PR: https://git.openjdk.org/jdk/pull/27909


More information about the i18n-dev mailing list