RFR: 8321139: jlink's man page does not document the --compress option correctly [v2]
Ana Maria Mihalceanu
duke at openjdk.org
Tue Nov 18 09:03:13 UTC 2025
On Tue, 18 Nov 2025 07:42:47 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Thank you so much for spotting this! `-c` does not work and `jlink --help` command does not list it either. Will remove it from this part.
>
> I suspect something has got messed up in the CLI parsing. `-c` should be the short form of `--compress`. At this time, `-c`, with no params, is the equivalent of `--compress 2` so we get a confusing warning. As we've found, providing parameters to the short form doesn't seem to work. So I think we need to dig into this more.
>
> Also a comment on the "Deprecated values to be removed in a future release" section. It would be easy to read it that zip-0 and zip-6 are being deprecated. Instead of "Equivalent to zip-0", then maybe we should say "Use zip-0 instead".
So maybe I should investigate first what happened to `-c` argument and then improve the documentation?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28359#discussion_r2536961458
More information about the core-libs-dev
mailing list