[jdk11u-dev] Integrated: 8310923: Refactor Currency tests to use JUnit
Andrew Lu
andrewlu at openjdk.org
Fri Apr 5 02:05:15 UTC 2024
On Thu, 28 Mar 2024 07:44:32 GMT, Andrew Lu <andrewlu at openjdk.org> wrote:
> I backport this for parity with 11.0.24-oracle.
> All Locale constructors change to new Locale("", country) due to JDK-8283698 has not been backported.
>
> test/jdk/java/util/Currency/ValidateISO4217.java
> due to the https://github.com/openjdk/jdk11u-dev/pull/2532
> the missing part was backported to this file here
>
> test/jdk/java/util/Currency/CurrencyTest.java
> due to the private static method was not allowed here such as 'private static Stream<String> validCurrencies()',
> remove static and add '@TestInstance(TestInstance.Lifecycle.PER_CLASS)'
This pull request has now been integrated.
Changeset: eca36961
Author: Andrew Lu <andrewlu at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/eca369614ccaa0c0109724231984a3acfd8e2756
Stats: 1091 lines in 9 files changed: 439 ins; 370 del; 282 mod
8310923: Refactor Currency tests to use JUnit
Reviewed-by: lucy
Backport-of: e848d9471f5de86e5ac157b710cd7371f12f0024
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/2632
More information about the jdk-updates-dev
mailing list