RFR: 8303884: jlink --add-options plugin does not allow GNU style options to be provided
Henry Jen
henryjen at openjdk.org
Tue Dec 3 20:23:55 UTC 2024
On Tue, 2 Jul 2024 12:20:17 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
> We cannot pass GNU style options like `--enable-preview` to `jlink --add-option`. It is hard to use for complex application.
>
> We have workaround for this issue (see JBS), but I think it is better to fix on JDK side.
The proposed fix is correct in my opinion, but there is a chance that user mistake could lead to missing of desired arguments.
https://github.com/openjdk/jdk/pull/22526 keeps the current behavior to error on ambiguous situation but allow user to explicitly express argument value with `=` or quote with multiple values as originally designed,
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19987#issuecomment-2515473883
More information about the core-libs-dev
mailing list