On Thu, 23 Feb 2023 19:15:49 GMT, Ian Graves <[email protected]> wrote:
>> This is an approach to adding a flag to jlink that will allow --compress to
>> take the same types of arguments as jmod, thus bringing the two into
>> alignment. This likely requires a CSR and a discussion on whether we should
>> deprecate or simply remove the original numeric compression arguments.
>
> Ian Graves has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Tweaking warning messages and shortening them
src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/DefaultCompressPlugin.java
line 97:
> 95: case LEVEL_0:
> 96: System.err.println(MessageFormat
> 97:
> .format(getMessage("compress.warn.argumentdeprecated"), LEVEL_0));
Suggestion:
System.err.println(getMessage("compress.warn.argumentdeprecated", LEVEL_0));
same applies to L102 and 107.
-------------
PR: https://git.openjdk.org/jdk/pull/11617