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

Goetz Lindenmaier goetz at openjdk.org
Wed Jan 29 10:31:56 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

This pull request has now been integrated.

Changeset: d66da41c
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/d66da41c8b83f48df8e25f06f5ddf356ccf67f4f
Stats:     899 lines in 13 files changed: 474 ins; 425 del; 0 mod

8310234: Refactor Locale tests to use JUnit

Reviewed-by: rschmelter
Backport-of: dad7bd9efc7ca2c245f7e35267479670f93a53a8

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3242


More information about the jdk-updates-dev mailing list