8169518: Suppress Deprecation warnings for deprecated Swing APIs
authorprr
Mon, 14 Nov 2016 10:00:15 -0800
changeset 42137 f6e23798622f
parent 41948 fd44a71c1be4
child 42138 a64d6162f64d
child 42520 6b06f852dc19
8169518: Suppress Deprecation warnings for deprecated Swing APIs Reviewed-by: alexsch, ssadetsky
make/CompileJavaModules.gmk
--- a/make/CompileJavaModules.gmk	Mon Nov 14 11:48:43 2016 +0100
+++ b/make/CompileJavaModules.gmk	Mon Nov 14 10:00:15 2016 -0800
@@ -95,7 +95,7 @@
 ################################################################################
 
 java.desktop_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference \
-    '-Xdoclint/package:java.*,javax.*' -Xlint:-deprecation,exports
+    '-Xdoclint/package:java.*,javax.*' -Xlint:exports
 java.desktop_COPY := .gif .png .wav .txt .xml .css .pf
 java.desktop_CLEAN := iio-plugin.properties cursors.properties