changeset 10034:b561412cd668

8039865: Add fallthrough lint warning to build of jdk repository Reviewed-by: erikj
author darcy
date Fri, 30 May 2014 16:45:30 -0700
parents c5c3515cb526
children 5cab03c4e5f9
files make/Setup.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/Setup.gmk	Fri May 30 16:41:18 2014 -0700
+++ b/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