changeset 16403:155f957ecf84

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 5e8c55025644
children a93e7eb6663c
files jdk/make/com/sun/org/apache/xml/Makefile jdk/make/javax/others/Makefile
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
 #