RFR: 8345431: Detect duplicate entries in jar files with jar --validate [v7]

Henry Jen henryjen at openjdk.org
Thu May 15 18:37:08 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 incrementally with one additional commit since the last revision:

  Move all validation into EntryValidator, update the document

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24430/files
  - new: https://git.openjdk.org/jdk/pull/24430/files/e0eff6ef..1150fb50

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24430&range=05-06

  Stats: 212 lines in 4 files changed: 105 ins; 22 del; 85 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