Integrated: 8377116: Refactor java/util/zip TestNG tests to JUnit

Justin Lu jlu at openjdk.org
Thu Feb 5 19:00:05 UTC 2026


On Tue, 3 Feb 2026 22:09:58 GMT, Justin Lu <jlu at openjdk.org> wrote:

> This PR consists of a conversion for the java/util/zip TestNG tests to JUnit. Changes are mainly automated. https://github.com/openjdk/jdk/commit/1aeb8a634b8f255853516015f4b39bd79dd94090 is required to resolve a failure since JUnit parameterized tests automatically close arguments that implement `AutoCloseable`.
> 
> Test stats before:
> Framework-based tests: 274 = 107 TestNG + 167 JUnit
> 
> Test stats after:
> Framework-based tests: 274 = 0 TestNG + 274 JUnit

This pull request has now been integrated.

Changeset: 99be94e3
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/99be94e38f69f9c64d9142e44acc22f5689b26f1
Stats:     372 lines in 12 files changed: 76 ins; 42 del; 254 mod

8377116: Refactor java/util/zip TestNG tests to JUnit

Reviewed-by: lancea

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

PR: https://git.openjdk.org/jdk/pull/29552


More information about the core-libs-dev mailing list