RFR: 8345431: Improve jar --validate to detect duplicate or invalid entries [v9]
Henry Jen
henryjen at openjdk.org
Tue May 20 16:57:56 UTC 2025
On Sat, 17 May 2025 01:27:38 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:
>
> Address review feedback
src/jdk.jartool/share/man/jar.md line 235:
> 233:
> 234: The jar tool will return a status code of 0 if there were no integrity issues encountered and a
> 235: status code of 1 an issue was found. When an integrity issue is reported, it will often require
I am wondering if we should not explicitly said status code of 1 to be more flexible.
s/status code of 1/non-zero status code
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24430#discussion_r2098459726
More information about the core-libs-dev
mailing list