RFR: 8345431: Improve jar --validate to detect duplicate or invalid entries [v15]
Henry Jen
henryjen at openjdk.org
Tue May 27 16:23:47 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 17 additional commits since the last revision:
- 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
- Adjust message based on review feedback
- Move all validation into EntryValidator, update the document
- ... and 7 more: https://git.openjdk.org/jdk/compare/e7422102...2690e69f
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24430/files
- new: https://git.openjdk.org/jdk/pull/24430/files/bf82d668..2690e69f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=14
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=13-14
Stats: 130765 lines in 2801 files changed: 79963 ins; 35168 del; 15634 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