RFR: 8266835: Add a --validate option to the jar tool [v3]

Jorn Vernee jvernee at openjdk.java.net
Wed Jun 9 13:43:41 UTC 2021


On Wed, 9 Jun 2021 13:02:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Improve help message.
>
> src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties line 241:
> 
>> 239: \      --validate             Validate a jar. This process will validate that the API\n\
>> 240: \                             exported by a multi-release jar is consistent across all\n\
>> 241: \                             different release versions.
> 
> Thanks for the update. I see that that "jar archive" is used in some of the existing options so maybe tweak it to:
> 
> Validate the contents of the jar archive.
> This option will validate that the API exported by ...

Done.

FWIW, I also thought about using "jar file", but the jar tool can also take input from stdin, so that didn't seem appropriate.

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

PR: https://git.openjdk.java.net/jdk/pull/3971


More information about the core-libs-dev mailing list