8009517: new code changes causing errors in old build (-Werror) environment
authorwetmore
Thu, 21 Mar 2013 16:31:48 -0700
changeset 16403 155f957ecf84
parent 16346 5e8c55025644
child 16404 a93e7eb6663c
8009517: new code changes causing errors in old build (-Werror) environment Reviewed-by: mduigou
jdk/make/com/sun/org/apache/xml/Makefile
jdk/make/javax/others/Makefile
--- a/jdk/make/com/sun/org/apache/xml/Makefile	Wed Jul 05 18:46:02 2017 +0200
+++ b/jdk/make/com/sun/org/apache/xml/Makefile	Thu Mar 21 16:31:48 2013 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -34,6 +34,8 @@
 JAVAC_WARNINGS_FATAL = true
 include $(BUILDDIR)/common/Defs.gmk
 
+JAVAC_LINT_OPTIONS += -Xlint:-overrides
+
 #
 # Files to compile
 #
--- a/jdk/make/javax/others/Makefile	Wed Jul 05 18:46:02 2017 +0200
+++ b/jdk/make/javax/others/Makefile	Thu Mar 21 16:31:48 2013 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -33,6 +33,8 @@
 
 include $(BUILDDIR)/common/Defs.gmk
 
+JAVAC_LINT_OPTIONS += -Xlint:-deprecation
+
 #
 # Files to compile
 #