8039865: Add fallthrough lint warning to build of jdk repository
authordarcy
Fri, 30 May 2014 16:45:30 -0700
changeset 24689 84f69ef153cc
parent 24688 b7543de25d78
child 24690 4438986fde26
8039865: Add fallthrough lint warning to build of jdk repository Reviewed-by: erikj
jdk/make/Setup.gmk
--- a/jdk/make/Setup.gmk	Fri May 30 16:41:18 2014 -0700
+++ b/jdk/make/Setup.gmk	Fri May 30 16:45:30 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,overloads,serial,static,try,varargs -Werror
+JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,fallthrough,overloads,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