JDK 9 RFR of JDK-8046273: Add overrides lint warning to build of jdk repository
Tim Bell
tim.bell at oracle.com
Sat Jun 7 00:31:44 UTC 2014
Hi Joe:
> Another warnings-related build fix to review, this time for
>
> JDK-8046273: Add overrides lint warning to build of jdk repository
>
> once the few remaining overrides warnings are cleared.
>
> Thanks,
>
> -Joe
>
> diff -r 9e8cddf3312e make/Setup.gmk
> --- a/make/Setup.gmk Thu Jun 05 12:13:50 2014 +0100
> +++ b/make/Setup.gmk Fri Jun 06 17:06:06 2014 -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,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,fallthrough,overloads,serial,static,try,varargs
> -Werror
> +JAVAC_WARNINGS :=
> -Xlint:-unchecked,-deprecation,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,fallthrough,overloads,overrides,serial,static,try,varargs
> -Werror
>
Looks fine when the time comes. Approved.
Tim
More information about the build-dev
mailing list