RFR: 8345431: Improve jar --validate to detect duplicate or invalid entries [v11]
Jaikiran Pai
jpai at openjdk.org
Wed May 21 16:35:54 UTC 2025
On Wed, 21 May 2025 15:49:29 GMT, Henry Jen <henryjen at openjdk.org> wrote:
>> 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
src/jdk.jartool/share/man/jar.md line 106:
> 104: overwriting (replacing) earlier copies unless -k is specified.
> 105:
> 106: `-d` or `--describe-module`
I'm going to start with some trivial nits and other review comments. The copyright year on this file will need a update.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24430#discussion_r2100728423
More information about the core-libs-dev
mailing list