6810915: Sun proprietary warnings in JDK build

Reviewed-by: ohair
This commit is contained in:
Jonathan Gibbons 2009-02-26 18:32:46 -08:00
parent c50a9c66cc
commit 8ecfee604a
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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)