RFR: 8293667: Align jlink's --compress option with jmod's --compress option [v2]

Andrey Turbanov aturbanov at openjdk.org
Wed Dec 21 11:27:53 UTC 2022


On Mon, 12 Dec 2022 20:53:27 GMT, Ian Graves <igraves at openjdk.org> 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:
> 
>   Swapping deprecations in properties

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/DefaultCompressPlugin.java line 106:

> 104:                     break;
> 105:                 default:
> 106:                     if(level.length() == 5 && level.startsWith("zip-")) {

Suggestion:

                    if (level.length() == 5 && level.startsWith("zip-")) {

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

PR: https://git.openjdk.org/jdk/pull/11617


More information about the core-libs-dev mailing list