RFR: 8321139: jlink's man page does not document the --compress option correctly

Ana Maria Mihalceanu duke at openjdk.org
Mon Nov 17 20:45:04 UTC 2025


On Mon, 17 Nov 2025 19:52:46 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> This PR looks into updating the content of `--compress` option and plugin of `jlink`:
>> 
>> - Updates the `--compress` option description and warns that previous compression levels are deprecated to be removed in a future release.
>> - Updates the `--plugin` option description and warns that previous compression levels are deprecated to be removed in a future release.
>
> src/jdk.jlink/share/man/jlink.md line 68:
> 
>> 66: 
>> 67: `-c=zip-[0-9]` or `--compress=zip-[0-9]`
>> 68: :   Enable compression of resources. The accepted values are:
> 
> All good for `--compress`. Can you double check that `-c` actually works?

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.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28359#discussion_r2535455349


More information about the core-libs-dev mailing list