RFR: 8345431: Detect duplicate entries in jar files with jar --validate
Henry Jen
henryjen at openjdk.org
Fri Apr 4 00:44:18 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.
-------------
Commit messages:
- 8345431: Detect duplicate entries in jar files with jar --validate
Changes: https://git.openjdk.org/jdk/pull/24430/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8345431
Stats: 118 lines in 4 files changed: 98 ins; 2 del; 18 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 core-libs-dev
mailing list