RFR: 8344318: Enhance configure help for enabling/disabling single JVM features

Matthias Baesken mbaesken at openjdk.org
Fri Nov 22 09:13:16 UTC 2024


On Wed, 20 Nov 2024 12:29:53 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> A general note about `--disable-<foo>` and `--without-<foo>`, usually negating the effect of `--enable-<foo>` and `--with-<foo>` respectively, could be reasonable to include, but that would need to go somewhere else as it's not specific to jvm features.
>
> Probably it is better to mention the disable syntax.
> `$PRINTF "The flag --disable-jvm-feature-<name> can be used to disable a single JVM feature.\n"`
> That is also a bit shorter.

We could maybe move the info to the start of the 'Optional Features:' section if you prefer this. Would be more general.
But is it really true that for all optional features the enable/disable syntax works ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22231#discussion_r1853563745


More information about the build-dev mailing list