6810915: Sun proprietary warnings in JDK build
authorjjg
Thu, 26 Feb 2009 18:32:46 -0800
changeset 2195 280b7d4be00d
parent 2194 b1b06d37c64d
child 2196 0cc0900637a7
6810915: Sun proprietary warnings in JDK build Reviewed-by: ohair
corba/make/Makefile
corba/make/common/shared/Defs-java.gmk
--- a/corba/make/Makefile	Thu Feb 26 18:28:21 2009 -0800
+++ b/corba/make/Makefile	Thu Feb 26 18:32:46 2009 -0800
@@ -112,8 +112,6 @@
   TARGET_JAVA = java
 endif
 
-NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
-
 SELF = $(lastword $(MAKEFILE_LIST))
 
 # for jdk, we generate the following:
--- a/corba/make/common/shared/Defs-java.gmk	Thu Feb 26 18:28:21 2009 -0800
+++ b/corba/make/common/shared/Defs-java.gmk	Thu Feb 26 18:32:46 2009 -0800
@@ -104,6 +104,9 @@
   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)