RFR: 8268613: jar --validate should check inital entries of a JAR file [v5]

Christian Stein cstein at openjdk.org
Thu Nov 13 08:39:37 UTC 2025


> Please review this change to include a validation check for expecting an optional JAR manifest entry being the first or second entry in JAR file. As the second entry, it must be only preceeded by an entry for the `META-INF/` directory.

Christian Stein has updated the pull request incrementally with one additional commit since the last revision:

  Use dedicated error messages

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28154/files
  - new: https://git.openjdk.org/jdk/pull/28154/files/b7389cb6..99e8e320

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

  Stats: 19 lines in 3 files changed: 9 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/28154.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28154/head:pull/28154

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


More information about the compiler-dev mailing list