jdk/make/Setup.gmk
changeset 22584 eed64ee05369
parent 22567 5816a47fa4dd
child 23350 0aac9866d9e5
--- a/jdk/make/Setup.gmk	Tue Jan 28 12:50:53 2014 +0400
+++ b/jdk/make/Setup.gmk	Tue Jan 28 09:42:05 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,overloads,static,try,varargs -Werror
+JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,overloads,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