[jdk17u-dev] RFR: 8310234: Refactor Locale tests to use JUnit

Ralf Schmelter rschmelter at openjdk.org
Tue Jan 28 14:53:55 UTC 2025


On Fri, 24 Jan 2025 08:23:35 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.15-oracle.
> 
> Omitted StreamAvailableLocales.java. It came with enhancement "8282319: java.util.Locale method to stream available Locales" in 21.
> 
> The remaining edits all are caused by "8283698: Refactor Locale constructors used in src/test" which is not in 17.
> 
> Deleted test/jdk/java/util/Locale/Bug4316602.java by hand.
> 
> Resolved test/jdk/java/util/Locale/CaseCheckVariant.java, CompareProviderFormats.java and RootLocale.java.
> 
> Removed test cases with Locale.of() from LocaleConstructors.java

Looks good

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

Marked as reviewed by rschmelter (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3242#pullrequestreview-2578508279


More information about the jdk-updates-dev mailing list