RFR: 8303884: jlink --add-options plugin does not allow GNU style options to be provided

Yasumasa Suenaga ysuenaga at openjdk.org
Sun Jul 28 06:27:38 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.

So how should we proceed this? This problem is critical for some modularized applications as I said before.

I agree that we need to consider the approach for this, but it is worth to provide the fix even if it is short-term, I think. I believe we can ensure not to break current behavior with jtreg tests.

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

PR Comment: https://git.openjdk.org/jdk/pull/19987#issuecomment-2254360949


More information about the core-libs-dev mailing list