RFR: JDK-8141543 Propagate --disable-warnings-as-errors to hotspot

David Holmes david.holmes at oracle.com
Fri Nov 6 07:35:49 UTC 2015


Hi Magnus,

On 6/11/2015 1:43 AM, Magnus Ihse Bursie wrote:
> Unfortunately, the --disable-warnings-as-errors flag only operates on
> the build-infra code, and does not propagate to the Hotspot build system.
>
> This is unfortunate, and also very confusing for users who think they
> have disabled warnings as errors, only to get an error in the hotspot
> build instead.
>
> We should set the correct value for hotspot makefiles from configure as
> well.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8141543
> WebRev:
> http://cr.openjdk.java.net/~ihse/JDK-8141543-propagate-disable-warnings-as-errors-to-hotspot/webrev.01

You are setting WARNINGS_AS_ERRORS but hotspot uses WARNINGS_ARE_ERRORS.

David

>
> /Magnus



More information about the build-dev mailing list