8046273: Add overrides lint warning to build of jdk repository
authordarcy
Tue, 24 Jun 2014 14:05:47 -0700
changeset 25166 7fb4fe5b60e2
parent 25165 b7751b856cae
child 25167 6a8e55aba124
8046273: Add overrides lint warning to build of jdk repository Reviewed-by: tbell
jdk/make/Setup.gmk
--- a/jdk/make/Setup.gmk	Tue Jun 24 19:59:26 2014 +0200
+++ b/jdk/make/Setup.gmk	Tue Jun 24 14:05:47 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,finally,overloads,serial,static,try,varargs -Werror
+JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,fallthrough,finally,overloads,overrides,serial,static,try,varargs -Werror
 
 # Any java code executed during a JDK build to build other parts of the JDK must be 
 # executed by the bootstrap JDK (probably with -Xbootclasspath/p: ) and for this