RFR: 8339280: jarsigner -verify performs cross-checking between CEN and LOC [v17]

Hai-May Chao hchao at openjdk.org
Thu Mar 27 06:40:02 UTC 2025


> The jarsigner -verify command currently performs verification by reading from JarFile to navigate the central directory (CEN) headers. It is now enhanced to include cross-validation of entries between JarFile (CEN-based) and JarInputStream (stream-based) representations of the JAR. It emits earnings when detecting discrepancies between a JAR file’s central directory and its local file entries.

Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision:

  Not split warning in rb.getString() accross multi-lines for Usages.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23532/files
  - new: https://git.openjdk.org/jdk/pull/23532/files/286f8b1f..18da4b00

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23532&range=16
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23532&range=15-16

  Stats: 18 lines in 2 files changed: 0 ins; 7 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/23532.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23532/head:pull/23532

PR: https://git.openjdk.org/jdk/pull/23532


More information about the security-dev mailing list