Yasumasa Suenaga created MJLINK-91:
--------------------------------------

             Summary: 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


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)

Reply via email to