Withdrawn: 8316804: Gracefully handle the case where --release is not specified last

duke duke at openjdk.org
Fri Feb 14 18:14:24 UTC 2025


On Wed, 13 Nov 2024 15:24:43 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Please review this change for the `jar` tool to gracefully handle the case where `--release` is not specified as the last arguments.
> 
> Prior to this commit, operation modes `-d --describe-module` and `--validate` expected to read the optional `--release` option as a file argument: `jar -d -f a.jar --release 9`
> By adding a hidden GNU-style `--release` option, processing the optional arguments before in those two operation modes, the position is now no longer required to trail behind the `-f --file` option: `jar -d --release 9 -f a.jar`
> 
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR
>    jtreg:test/jdk/tools/jar                             26    26     0     0
> ==============================
> TEST SUCCESS

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/22079


More information about the core-libs-dev mailing list