8044715: Add finally lint warning to build of jdk repository
authordarcy
Wed, 18 Jun 2014 18:27:39 -0700
changeset 25145 82fa3e8aabee
parent 25144 e2bf17cee34b
child 25146 86c837ef731f
8044715: Add finally lint warning to build of jdk repository Reviewed-by: henryjen, tbell
jdk/make/Setup.gmk
--- a/jdk/make/Setup.gmk	Wed Jun 18 13:14:15 2014 -0700
+++ b/jdk/make/Setup.gmk	Wed Jun 18 18:27:39 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,fallthrough,overloads,serial,static,try,varargs -Werror
+JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,fallthrough,finally,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