8031747: Add overloads lint warning to build of jdk repository
authordarcy
Wed, 15 Jan 2014 11:29:47 -0800
changeset 22284 b2b1848b52ab
parent 22283 ae235c2bbac9
child 22285 6c67737a5ac0
8031747: Add overloads lint warning to build of jdk repository Reviewed-by: chegar, erikj, alanb
jdk/make/Setup.gmk
--- a/jdk/make/Setup.gmk	Wed Jan 15 10:40:22 2014 -0800
+++ b/jdk/make/Setup.gmk	Wed Jan 15 11:29:47 2014 -0800
@@ -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,classfile,dep-ann,divzero,empty,try,varargs -Werror
+JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,classfile,dep-ann,divzero,empty,overloads,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