6810915: Sun proprietary warnings in JDK build
authorjjg
Thu Feb 26 18:32:46 2009 -0800 (12 months ago)
changeset 51db35452e8965
parent 509e6c48c2582d
child 52082f59f5ac64
6810915: Sun proprietary warnings in JDK build
Reviewed-by: ohair
make/Makefile
make/common/shared/Defs-java.gmk
--- a/make/Makefile Thu Feb 26 18:28:21 2009 -0800
+++ b/make/Makefile Thu Feb 26 18:32:46 2009 -0800
@@ -112,8 +112,6 @@ ifndef TARGET_JAVA
TARGET_JAVA = java
endif
-NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
-
SELF = $(lastword $(MAKEFILE_LIST))
# for jdk, we generate the following:
--- a/make/common/shared/Defs-java.gmk Thu Feb 26 18:28:21 2009 -0800
+++ b/make/common/shared/Defs-java.gmk Thu Feb 26 18:32:46 2009 -0800
@@ -104,6 +104,9 @@ ifeq ($(COMPILER_WARNINGS_FATAL), true)
JAVACFLAGS += -Werror
endif
+NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
+JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS)
+
# Add the source level (currently all source is 1.5, should this be 1.6?)
LANGUAGE_VERSION = -source 1.5
JAVACFLAGS += $(LANGUAGE_VERSION)