On Tue, 3 Dec 2024 19:59:56 GMT, Henry Jen <henry...@openjdk.org> wrote:

> Improving option value handling to support passing argument value starts with 
> "--".
> 
> Before the fix, in following example, --add-modules will be considered as 
> another option for JLink instead of argument value for --add-options.
> --add-options --add-modules=jdk.incubator.concurrent
> --add-options=--add-modules=jdk.incubator.concurrent
> 
> will cause JLink to report
> Error: no value given for --add-options
> as --add-modules is considered another option for JLink.
> 
> After the fix, by using = will ensure the value is properly handled as 
> argument value
> --add-options=--add-modules=jdk.incubator.concurrent

This pull request has now been integrated.

Changeset: d6d45c6e
Author:    Henry Jen <henry...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/d6d45c6eae2304adb57a49a61861456c3e429e73
Stats:     231 lines in 3 files changed: 224 ins; 0 del; 7 mod

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

Reviewed-by: ysuenaga, alanb

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

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

Reply via email to