JDK 9 RFR of JDK-8046273: Add overrides lint warning to build of jdk repository

Joe Darcy joe.darcy at oracle.com
Sat Jun 7 00:07:37 UTC 2014


Hello,

Another warnings-related build fix to review, this time for

     JDK-8046273: Add overrides lint warning to build of jdk repository

once the few remaining overrides warnings are cleared.

Thanks,

-Joe

diff -r 9e8cddf3312e make/Setup.gmk
--- a/make/Setup.gmk    Thu Jun 05 12:13:50 2014 +0100
+++ b/make/Setup.gmk    Fri Jun 06 17:06:06 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,auxiliaryclass,cast,classfile,dep-ann,divzero,empty,fallthrough,overloads,overrides,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




More information about the build-dev mailing list