7122061: add -Xlint:all -Werror to warning-free build steps
Reviewed-by: chegar, alanb, dholmes, ohair
--- a/jdk/make/com/sun/demo/jvmti/hprof/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/com/sun/demo/jvmti/hprof/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -32,6 +32,9 @@
BUILDDIR = ../../../../..
PACKAGE = com.sun.demo.jvmti.hprof
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/com/sun/java/browser/net/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/com/sun/java/browser/net/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -28,6 +28,9 @@
BUILDDIR = ../../../../..
PACKAGE = com.sun.java.browser.net
PRODUCT = plugin
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/com/sun/tools/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/com/sun/tools/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -30,6 +30,9 @@
BUILDDIR = ../../..
PACKAGE = com.sun.tools
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
AUTO_FILES_JAVA_DIRS = com/sun/tools/extcheck
--- a/jdk/make/com/sun/tools/attach/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/com/sun/tools/attach/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -28,6 +28,9 @@
PACKAGE = com.sun.tools.attach
LIBRARY = attach
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
ifeq ($(PLATFORM), solaris)
--- a/jdk/make/com/sun/tracing/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/com/sun/tracing/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -30,6 +30,9 @@
BUILDDIR = ../../..
PACKAGE = com.sun.tracing
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
SUBDIRS = dtrace
--- a/jdk/make/com/sun/tracing/dtrace/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/com/sun/tracing/dtrace/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -29,6 +29,9 @@
BUILDDIR = ../../../..
PACKAGE = com.sun.tracing.dtrace
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
AUTO_FILES_JAVA_DIRS = com/sun/tracing/dtrace
--- a/jdk/make/java/instrument/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/java/instrument/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -38,6 +38,9 @@
FILES_m = mapfile-vers
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
# Use the mapfile-vers (See the mapfile located with this Makefile)
--- a/jdk/make/java/rmi/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/java/rmi/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -31,6 +31,9 @@
PACKAGE = java.rmi
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
AUTO_FILES_JAVA_DIRS = java/rmi
--- a/jdk/make/java/text/base/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/java/text/base/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -26,6 +26,8 @@
BUILDDIR = ../../..
PACKAGE = java.text
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/java/text/bidi/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/java/text/bidi/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -26,6 +26,9 @@
BUILDDIR = ../../..
PACKAGE = java.text
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/java/util/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/java/util/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -32,6 +32,8 @@
PACKAGE = java.util.resources
PRODUCT = java
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/javax/accessibility/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/javax/accessibility/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -26,6 +26,9 @@
BUILDDIR = ../..
PACKAGE = java.accessibility
PRODUCT = java
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/javax/others/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/javax/others/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -28,6 +28,9 @@
#
BUILDDIR = ../..
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/javax/security/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/javax/security/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -28,8 +28,8 @@
#
BUILDDIR = ../..
-JAVAC_MAX_WARNINGS = true
-JAVAC_WARNINGS_FATAL = true
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/jpda/tty/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/jpda/tty/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -31,6 +31,9 @@
PACKAGE = com.sun.tools.example.debug.tty
PRODUCT = jpda
PROGRAM = jdb
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
# This program must contain a manifest that defines the execution level
--- a/jdk/make/sun/launcher/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/sun/launcher/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -26,6 +26,9 @@
BUILDDIR = ../..
PACKAGE = sun.launcher
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/sun/serialver/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/sun/serialver/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -30,6 +30,9 @@
BUILDDIR = ../..
PACKAGE = sun.tools.serialver
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#
--- a/jdk/make/sun/text/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/sun/text/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -31,6 +31,8 @@
PACKAGE = sun.text
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/util/Makefile Wed Dec 28 10:51:24 2011 -0800
+++ b/jdk/make/sun/util/Makefile Thu Dec 29 16:39:51 2011 -0800
@@ -26,6 +26,9 @@
BUILDDIR = ../..
PACKAGE = sun.util
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
+
include $(BUILDDIR)/common/Defs.gmk
#