changeset 2315:a2bc68968395

8145471: javac changes for enhanced deprecation Reviewed-by: smarks, tbell, mcimadamore, jlahoda
author jjg
date Thu, 20 Oct 2016 13:44:00 -0700
parents ca71b6f6a84a
children a3e906e25036 808cae9bfff0
files make/common/SetupJavaCompilers.gmk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/SetupJavaCompilers.gmk	Thu Oct 20 20:01:27 2016 +0000
+++ b/make/common/SetupJavaCompilers.gmk	Thu Oct 20 13:44:00 2016 -0700
@@ -28,11 +28,11 @@
 
 include JavaCompilation.gmk
 
-DISABLE_WARNINGS := -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally
+DISABLE_WARNINGS := -Xlint:all,-deprecation,-removal,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally
 
 # If warnings needs to be non-fatal for testing purposes use a command like:
 # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
-JAVAC_WARNINGS := -Xlint:all -Werror
+JAVAC_WARNINGS := -Xlint:all,-removal -Werror
 
 # The BOOT_JAVAC setup uses the boot jdk compiler to compile the tools
 # and the interim javac, to be run by the boot jdk.