RFR: 8345431: Improve jar --validate to detect duplicate or invalid entries [v16]
Henry Jen
henryjen at openjdk.org
Wed May 28 14:53:39 UTC 2025
> This PR check the jar file to ensure entries are consistent from the central directory and local file header. Also check there is no duplicate entry names that could override the desired content by accident.
Henry Jen 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 19 additional commits since the last revision:
- Merge remote-tracking branch 'openjdk/master' into open
- Fix typo
- Merge remote-tracking branch 'openjdk/master' into open
- Merge remote-tracking branch 'openjdk/master' into open
- Minor tweaks
- Assure >0 exit code and fix typos
- Validator to take a file, use term JAR file
- Mismatched order is considered invalid
- Adapt review feedback
- Address review feedback
- ... and 9 more: https://git.openjdk.org/jdk/compare/55443096...a0ebb6d6
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24430/files
- new: https://git.openjdk.org/jdk/pull/24430/files/2690e69f..a0ebb6d6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=15
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=14-15
Stats: 2813 lines in 126 files changed: 1269 ins; 1101 del; 443 mod
Patch: https://git.openjdk.org/jdk/pull/24430.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24430/head:pull/24430
PR: https://git.openjdk.org/jdk/pull/24430
More information about the compiler-dev
mailing list