RFR: 8303884: jlink --add-options plugin does not allow GNU style options to be provided
Jaikiran Pai
jpai at openjdk.org
Sun Jul 14 14:40:51 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.
Hello @YaSuenag, I haven't had a chance to build your change locally and try it myself, but I suspect this change isn't enough to address the issue. Does this change allow for:
jlink ... --add-options --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
to work correctly and have the `--add-exports java.base/jdk.internal.misc=ALL-UNNAMED` be considered as the option value for `--add-options`.
Additionally, do the current tests pass with your proposed change?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19987#issuecomment-2227372098
More information about the core-libs-dev
mailing list