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

Henry Jen henryjen at openjdk.org
Tue Apr 29 16:59:49 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:

  Fix copyright year

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24430/files
  - new: https://git.openjdk.org/jdk/pull/24430/files/d56eb76c..e38774af

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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