Skip to content

Support for new Compression vars #213

@WarWolfen

Description

@WarWolfen

Hi!

Since Java 21 the compression for JLink has changed. I get the error/warning in my build:
[ERROR] Warnung: Das Argument 2 für --compress ist veraltet und wird möglicherweise in einem zukünftigen Release entfernt
"Argument 2 (1,0) is deprecated and might be removed in a future release" (my translation)

In my pom.xml I have:
< compression >2< / compression >

In the future, this seems to change to "zip0" to "zip9" instead of the currently used numbers. I found that after some searching somewhere on stackoverflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    releasedIssue has been released

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions