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

Matthias Baesken mbaesken at openjdk.org
Wed Nov 20 12:32:15 UTC 2024


On Tue, 19 Nov 2024 20:44:15 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> Even a relatively experienced developer might not know that much about configure.  I think just having the
>> help text says something about using `--disable-<foo>` would be helpful.
>
> 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.

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

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


More information about the build-dev mailing list