[jdk25u-dev] Integrated: 8375231: Refactor util/ServiceLoader tests to use JUnit
Roland Mesde
duke at openjdk.org
Mon Feb 23 18:07:28 UTC 2026
On Fri, 20 Feb 2026 18:26:34 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8375231, JDK-8375232 and JDK-8375233: Refactor util/ServiceLoader, util/StringJoiner and util/Vector tests to use JUnit.
>
> This PR converts 11 TestNG tests (7 ServiceLoader, 3 StringJoiner, 1 Vector) to JUnit in a single commit.
>
> For parity with Oracle JDK.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/jdk/java/util/ServiceLoader
> make test TEST=test/jdk/java/util/StringJoiner
> make test TEST=test/jdk/java/util/Vector/ArrayManagement.java
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25451060/windows-x64-specific-test.log)
> [windows-x64-specific-2-test.log](https://github.com/user-attachments/files/25451061/windows-x64-specific-2-test.log)
> [windows-x64-specific-3-test.log](https://github.com/user-attachments/files/25451063/windows-x64-specific-3-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25451064/macos-aarch64-specific-test.log)
> [macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25451066/macos-aarch64-specific-2-test.log)
> [macos-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25451068/macos-aarch64-specific-3-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25451070/linux-x64-specific-test.log)
> [linux-x64-specific-2-test.log](https://github.com/user-attachments/files/25451072/linux-x64-specific-2-test.log)
> [linux-x64-specific-3-test.log](https://github.com/user-attachments/files/25451074/linux-x64-specific-3-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25451075/linux-aarch64-specific-test.log)
> [linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25451077/linux-aarch64-specific-2-test.log)
> [linux-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25451078/linux-aarch64-specific-3-test.log)
This pull request has now been integrated.
Changeset: 4a750380
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/4a750380c8ec9051dd92d6f29cb8ccbb57f25886
Stats: 357 lines in 11 files changed: 81 ins; 53 del; 223 mod
8375231: Refactor util/ServiceLoader tests to use JUnit
8375232: Refactor util/StringJoiner tests to use JUnit
8375233: Refactor util/Vector tests to use JUnit
Backport-of: 34705a77f9a90da5ab2a440c11d79aef7bb3ba54
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/298
More information about the jdk-updates-dev
mailing list