# HG changeset patch # User darcy # Date 1389814187 28800 # Node ID b2b1848b52abaff72f7937fed51fd3a948fd062c # Parent ae235c2bbac937b8e93c5bd82c6e1b78fee8e8bf 8031747: Add overloads lint warning to build of jdk repository Reviewed-by: chegar, erikj, alanb diff -r ae235c2bbac9 -r b2b1848b52ab 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