<i18n dev> Integrated: 8276186: Require getAvailableLocales() methods to include Locale.ROOT

Naoto Sato naoto at openjdk.java.net
Wed Nov 10 20:55:43 UTC 2021


On Thu, 4 Nov 2021 16:07:01 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> This fix is to require to include `Locale.ROOT` in the returned arrays/set from `getAvailableLocales()` methods in various locale-sensitive classes. The implementation has been including `Locale.ROOT` since its inception, it is simply a doc clarification (+ a test case verifying it). Corresponding CSR has also been drafted: https://bugs.openjdk.java.net/browse/JDK-8276249

This pull request has now been integrated.

Changeset: 0c409cac
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0c409cac789f1b1d21e09a65db36bb6c72c569db
Stats:     108 lines in 10 files changed: 86 ins; 0 del; 22 mod

8276186: Require getAvailableLocales() methods to include Locale.ROOT

Reviewed-by: prappo, smarks, iris

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

PR: https://git.openjdk.java.net/jdk/pull/6258


More information about the i18n-dev mailing list