RFR: 8345431: Improve jar --validate to detect duplicate or invalid entries [v11]

Lance Andersen lancea at openjdk.org
Wed May 21 20:23:58 UTC 2025


On Wed, 21 May 2025 16:42:14 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> 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 223:
> 
>> 221: As a jar archive is based on ZIP format, it is possible to create a jar archive using tools
>> 222: other than the `jar` command. The --validate option may be used to perform the following
>> 223: integrity checks against a jar archive:
> 
> Nit - "integrity checks against a JAR file:"

I think we have other inconsistencies that we can clean up at a later time in the help and man page for the jar tool in the usages of archive/file.

The man page description can use a further overhaul as we still reference applets.  So we can do this also as follow on work

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24430#discussion_r2101097000


More information about the core-libs-dev mailing list