changeset 25166:7fb4fe5b60e2

8046273: Add overrides lint warning to build of jdk repository Reviewed-by: tbell
author darcy
date Tue, 24 Jun 2014 14:05:47 -0700
parents b7751b856cae
children 6a8e55aba124
files jdk/make/Setup.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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