JDK 8 RFR: JDK-8024603 Turn on javac lint checking for auxiliaryclass, empty, and try in jdk build
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Oct 2 07:29:15 UTC 2013
On 2013-10-02 01:22, Joe Darcy wrote:
> The webrev above and patch below adds the "auxiliaryclass", "empty",
> and "try" categories:
>
> --- old/makefiles/Setup.gmk 2013-10-01 15:53:23.000000000 -0700
> +++ new/makefiles/Setup.gmk 2013-10-01 15:53:23.000000000 -0700
> @@ -27,7 +27,7 @@
>
> # To build with all warnings enabled, do the following:
> # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
> -JAVAC_WARNINGS:=-Xlint:-unchecked,-deprecation,-overrides,classfile,dep-ann,divzero,varargs
> -Werror
> +JAVAC_WARNINGS:=-Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,classfile,dep-ann,divzero,empty,try,varargs
> -Werror
Yay! :)
/Magnus
More information about the build-dev
mailing list