<i18n dev> Integrated: 8357275: Locale.Builder.setLanguageTag should mention conversions made on language tag

Justin Lu jlu at openjdk.org
Thu May 29 17:41:56 UTC 2025


On Mon, 19 May 2025 20:56:55 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.

This pull request has now been integrated.

Changeset: e509997f
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e509997fe87a09513b8f79d303cc69392d2cb7b0
Stats:     13 lines in 1 file changed: 9 ins; 0 del; 4 mod

8357275: Locale.Builder.setLanguageTag should mention conversions made on language tag

Reviewed-by: naoto

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

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


More information about the i18n-dev mailing list