RFR: 8316804: Gracefully handle the case where --release is not specified last [v3]

Jaikiran Pai jpai at openjdk.org
Wed Dec 18 16:09:38 UTC 2024


On Wed, 18 Dec 2024 15:37:12 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Interestingly, neither the help text nor the jar tool specification https://docs.oracle.com/en/java/javase/23/docs/specs/man/jar.html states anywhere that the --release option is supported by the --describe-module or the --validate operations.

I stand corrected on this part. I just now noticed that `--release` option shows up in the help text under:


Operation modifiers valid in any mode:
...
--release VERSION      Places all following files in a versioned directory
                             of the jar (i.e. META-INF/versions/VERSION/)

I mistook this part previously because the text states "places".

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

PR Comment: https://git.openjdk.org/jdk/pull/22079#issuecomment-2551722309


More information about the core-libs-dev mailing list