changeset 8017:6782f2c46bca

8009517: new code changes causing errors in old build (-Werror) environment Reviewed-by: mduigou
author wetmore
date Thu, 21 Mar 2013 16:31:48 -0700
parents 624bcb480006
children ac519af51769
files make/com/sun/org/apache/xml/Makefile make/javax/others/Makefile
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/com/sun/org/apache/xml/Makefile	Mon Mar 18 10:46:49 2013 -0400
+++ b/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/make/javax/others/Makefile	Mon Mar 18 10:46:49 2013 -0400
+++ b/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
 #