changeset 4884:3a7ea63302f8

7122061: add -Xlint:all -Werror to warning-free build steps Reviewed-by: chegar, alanb, dholmes, ohair
author smarks
date Thu, 29 Dec 2011 16:39:51 -0800
parents 437255d15e76
children 5aeefe0e5d8c
files make/com/sun/demo/jvmti/hprof/Makefile make/com/sun/java/browser/net/Makefile make/com/sun/tools/Makefile make/com/sun/tools/attach/Makefile make/com/sun/tracing/Makefile make/com/sun/tracing/dtrace/Makefile make/java/instrument/Makefile make/java/rmi/Makefile make/java/text/base/Makefile make/java/text/bidi/Makefile make/java/util/Makefile make/javax/accessibility/Makefile make/javax/others/Makefile make/javax/security/Makefile make/jpda/tty/Makefile make/sun/launcher/Makefile make/sun/serialver/Makefile make/sun/text/Makefile make/sun/util/Makefile
diffstat 19 files changed, 53 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/com/sun/demo/jvmti/hprof/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/com/sun/java/browser/net/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/com/sun/tools/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/com/sun/tools/attach/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/com/sun/tracing/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/com/sun/tracing/dtrace/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/java/instrument/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/java/rmi/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/java/text/base/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/java/text/bidi/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/java/util/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/javax/accessibility/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/javax/others/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/javax/security/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/jpda/tty/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/sun/launcher/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/sun/serialver/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/sun/text/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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/make/sun/util/Makefile	Wed Dec 28 10:51:24 2011 -0800
+++ b/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
 
 #