On Tue, 2 Jul 2024 12:20:17 GMT, Yasumasa Suenaga <ysuen...@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

Reply via email to