You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2025/02/04 22:45:00 UTC
[jira] [Resolved] (MJLINK-91) addOptions should concatenate arguments with "="
[ https://issues.apache.org/jira/browse/MJLINK-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold resolved MJLINK-91.
-----------------------------------------
Resolution: Fixed
> addOptions should concatenate arguments with "="
> ------------------------------------------------
>
> Key: MJLINK-91
> URL: https://issues.apache.org/jira/browse/MJLINK-91
> Project: Maven JLink Plugin
> Issue Type: Improvement
> Reporter: Yasumasa Suenaga
> Priority: Major
>
> JDK 25 accepts `--add-options` jlink option with `=` only due to JDK-8303884.
> See [GitHub PR on OpenJDK|https://github.com/openjdk/jdk/pull/22526] for more details.
> Currently Maven JLink Plugin generates jlink arguments separated by white space. It works fine on JDK 24 or earlier, but it will not work on JDK 25 or later. jlink (in JDK 24 or earlier) can be accept both style `--add-options <opts>` and `--add-options=<opts>`. Thus we can adopt `-add-options=` style for all JDK versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)