RFR: 8316804: Gracefully handle the case where --release is not specified last [v2]
Christian Stein
cstein at openjdk.org
Wed Nov 13 16:08:44 UTC 2024
> 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
Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
Stream argument processing and fix typo
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22079/files
- new: https://git.openjdk.org/jdk/pull/22079/files/311c725e..4f56a934
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22079&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22079&range=00-01
Stats: 11 lines in 2 files changed: 4 ins; 5 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/22079.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22079/head:pull/22079
PR: https://git.openjdk.org/jdk/pull/22079
More information about the core-libs-dev
mailing list