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.

Very nice code moderization.

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

Marked as reviewed by iris (Reviewer).

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

Reply via email to