On Tue, 31 May 2022 17:46:18 GMT, Naoto Sato <na...@openjdk.org> wrote:
> Refactoring some old code in locale providers. The test case data have also > been modified due to: > - There's a bug in `LocaleProviderAdapter.toLocaleArray()` where it did not > handle the case for `no-NO-NY`. > - `Locale.toLanguageTag()` won't handle legacy Java locales, e.g., `ja_JP_JP` > and falls back, so comparing locales using language tags does not work for > those locales. Changed to compare with `Locale.toString()` instead. This pull request has now been integrated. Changeset: 26d24263 Author: Naoto Sato <na...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/26d24263c7db6d8f722afefc975b03cb575fa6ee Stats: 177 lines in 4 files changed: 6 ins; 62 del; 109 mod 8287340: Refactor old code using StringTokenizer in locale related code Reviewed-by: iris, joehw ------------- PR: https://git.openjdk.java.net/jdk/pull/8960