RFR: 8352692: Add support for extra jlink options

Magnus Ihse Bursie ihse at openjdk.org
Tue Mar 25 15:02:18 UTC 2025


On Mon, 24 Mar 2025 10:37:10 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this simple change to allow for extra `jlink` flags to be passed to the JDK build by `configure`. The bug describes use-cases where this would be needed.
> 
> Testing:
> - [x] GHA
> - [x] Manual tests with a fix for [JDK-8352689](https://bugs.openjdk.org/browse/JDK-8352689) together with a `jlink` arg file.
> 
> Thoughts?

make/autoconf/jdk-options.m4 line 638:

> 636:   # Extra jlink options to be (optionally) passed to the JDK build
> 637:   #
> 638:   AC_ARG_WITH(extra-jlink-flags, [AS_HELP_STRING([--with-extra-jlink-flags],

Please use `UTIL_ARG_WITH` for new flags.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24188#discussion_r2012305560


More information about the build-dev mailing list