RFR: 8378111: Migrate java/util/jar tests to JUnit [v4]

Justin Lu jlu at openjdk.org
Fri Feb 27 19:52:03 UTC 2026


> This PR migrates the java/util/jar tests to use _JUnit_.
> 
> https://github.com/openjdk/jdk/commit/afe0aeee746bccbbe4bc6c9a8cd2302228ecc2f6 includes changes for _testNG_ based tests.
> https://github.com/openjdk/jdk/commit/c5a7f75840f96fa77ec3ed7faa713990adb84de6 includes changes for `main` based tests.
> 
> Before: Framework-based tests: 125 = 125 TestNG + 0 JUnit.
> After: Framework-based tests: 174 = 0 TestNG + 174 JUnit

Justin Lu has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:

 - Merge branch 'master' into junit-java-util-jar
 - Reflect Lance's comments
 - get rid of inheritance + zip -> ZIP
 - Eirik comments
 - Naoto comment
 - Andrey comments
 - main -> JUnit
 - TestNG -> JUnit

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29828/files
  - new: https://git.openjdk.org/jdk/pull/29828/files/5bd6c18e..2f8790f6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29828&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29828&range=02-03

  Stats: 105399 lines in 936 files changed: 46992 ins; 39117 del; 19290 mod
  Patch: https://git.openjdk.org/jdk/pull/29828.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29828/head:pull/29828

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


More information about the core-libs-dev mailing list