8145468: update java.lang APIs with new deprecations
authorsmarks
Mon, 18 Apr 2016 14:11:16 -0700
changeset 37399 ab8e0abb7578
parent 37396 8d78fb40648d
child 37408 15d3d0e61f2e
8145468: update java.lang APIs with new deprecations Reviewed-by: lancea, alanb
make/CompileJavaModules.gmk
--- a/make/CompileJavaModules.gmk	Wed Jul 05 21:36:10 2017 +0200
+++ b/make/CompileJavaModules.gmk	Mon Apr 18 14:11:16 2016 -0700
@@ -98,7 +98,8 @@
 
 ################################################################################
 
-java.desktop_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
+java.desktop_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference \
+    '-Xdoclint/package:java.*,javax.*' -Xlint:-deprecation
 java.desktop_COPY := .gif .png .wav .txt .xml .css .pf
 java.desktop_CLEAN := iio-plugin.properties cursors.properties