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.

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

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

Changes: https://git.openjdk.org/jdk/pull/19987/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19987&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303884
  Stats: 8 lines in 2 files changed: 0 ins; 2 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/19987.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19987/head:pull/19987

PR: https://git.openjdk.org/jdk/pull/19987

Reply via email to