RFR: 8345431: Improve jar --validate to detect duplicate or invalid entries [v11]

Henry Jen henryjen at openjdk.org
Wed May 21 15:49:29 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:

  Mismatched order is considered invalid

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24430/files
  - new: https://git.openjdk.org/jdk/pull/24430/files/0caecfcd..b0df54d2

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

  Stats: 24 lines in 2 files changed: 16 ins; 5 del; 3 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