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

Naoto Sato naoto at openjdk.org
Wed May 28 20:55:03 UTC 2025


On Wed, 21 May 2025 20:41:43 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> 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:
> 
>   CSR review - clarify that 3 extlang subtags is not a JDK specific condition

LGTM

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

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25309#pullrequestreview-2876400699


More information about the core-libs-dev mailing list