8032977: Add serial lint warning to build of jdk repository
authordarcy
Thu, 03 Apr 2014 16:00:56 -0700
changeset 23714 468e8b2a358a
parent 23713 d3927a03a94e
child 23715 54ae9dd9df73
8032977: Add serial lint warning to build of jdk repository Reviewed-by: ihse, tbell
jdk/make/Setup.gmk
--- a/jdk/make/Setup.gmk	Thu Apr 03 10:53:35 2014 +0200
+++ b/jdk/make/Setup.gmk	Thu Apr 03 16:00:56 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,static,try,varargs -Werror
+JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,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