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

Lance Andersen lancea at openjdk.org
Thu Nov 13 12:41:04 UTC 2025


On Thu, 13 Nov 2025 08:39:37 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> 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

thank you for the additional clarifications.  

I think we are in a good place

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

Marked as reviewed by lancea (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28154#pullrequestreview-3459597265


More information about the compiler-dev mailing list