RFR: JDK-8240947 Change conflicting JVM features from warning to error
Erik Joelsson
erik.joelsson at oracle.com
Thu Mar 12 16:07:58 UTC 2020
Looks good.
/Erik
On 2020-03-12 02:36, Magnus Ihse Bursie wrote:
> If configure is given a conflicting configure line, e.g.
> --disable-jvm-feature-serialgc --with-jvm-features=serialgc , it will
> print a warning and let the disable override the enable.
>
> This turned out to be not enough to catch incorrect configurations.
> Instead, configure should consider this an error, and ask the user to
> make up their mind.
>
> Note that this only can happen if you mix the old-style
> --with-jvm-features=[-]* with the new-style
> --enable/disable-jvm-feature-*. Autoconf will let later
> --enable/disable flags override previous enable/disable, and likewise
> with --with flags.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8240947
> WebRev:
> http://cr.openjdk.java.net/~ihse/JDK-8240947-error-on-conflicting-jvm-features/webrev.01
>
> /Magnus
More information about the build-dev
mailing list