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

2021-06-09 Thread Alan Bateman
On Wed, 9 Jun 2021 13:37:02 GMT, Jorn Vernee wrote: >> 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

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

2021-06-09 Thread Jorn Vernee
On Wed, 9 Jun 2021 13:02:50 GMT, Alan Bateman 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: \

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

2021-06-09 Thread Alan Bateman
On Tue, 8 Jun 2021 18:32:36 GMT, Jorn Vernee wrote: >> This patch adds a `--validate` option to the jar tool which can be used to >> validate a jar file that might be malformed. For instance, if a jar is a >> multi-release jar, it is malformed if different versions expose different >> APIs.

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

2021-06-09 Thread Jorn Vernee
On Tue, 8 Jun 2021 18:32:36 GMT, Jorn Vernee wrote: >> This patch adds a `--validate` option to the jar tool which can be used to >> validate a jar file that might be malformed. For instance, if a jar is a >> multi-release jar, it is malformed if different versions expose different >> APIs.

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

2021-06-08 Thread Lance Andersen
On Tue, 8 Jun 2021 18:32:36 GMT, Jorn Vernee wrote: >> This patch adds a `--validate` option to the jar tool which can be used to >> validate a jar file that might be malformed. For instance, if a jar is a >> multi-release jar, it is malformed if different versions expose different >> APIs.

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

2021-06-08 Thread Jorn Vernee
> This patch adds a `--validate` option to the jar tool which can be used to > validate a jar file that might be malformed. For instance, if a jar is a > multi-release jar, it is malformed if different versions expose different > APIs. > > The implementation is straight forward since there