<i18n dev> RFR: 8357275: Locale.Builder.setLanguageTag should explicitly state extlangs are allowed [v2]
Justin Lu
jlu at openjdk.org
Tue May 20 17:19:32 UTC 2025
> It is not clear that `Locale.Builder.setLanguageTag(String)` accepts _extlang_ subtags in the input as well as what behavior occurs. Additionally, both this method and `Locale.forLanguageTag(String)` should mention their behavior when more than three _extlang_ subtags are provided. This PR clarifies the lack of context in the specification.
Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
setLanguageTag should mention all conversions, not just extlang
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25309/files
- new: https://git.openjdk.org/jdk/pull/25309/files/204338ae..2d70bf79
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25309&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25309&range=00-01
Stats: 7 lines in 1 file changed: 2 ins; 1 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/25309.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25309/head:pull/25309
PR: https://git.openjdk.org/jdk/pull/25309
More information about the i18n-dev
mailing list