RFR: 8357275: Locale.Builder.setLanguageTag should mention conversions made on language tag [v3]

Justin Lu jlu at openjdk.org
Tue May 20 23:24:33 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:

  adjust example wording

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25309/files
  - new: https://git.openjdk.org/jdk/pull/25309/files/2d70bf79..62714a26

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

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 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 core-libs-dev mailing list