changeset 9077:bf6a98e66486

8031747: Add overloads lint warning to build of jdk repository Reviewed-by: chegar, erikj, alanb
author darcy
date Wed, 15 Jan 2014 11:29:47 -0800
parents c07fd977f9e6
children 0928a5b5045d
files make/Setup.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/Setup.gmk	Wed Jan 15 10:40:22 2014 -0800
+++ b/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