6810915: Sun proprietary warnings in JDK build

Thu, 26 Feb 2009 18:32:46 -0800

author
jjg
date
Thu, 26 Feb 2009 18:32:46 -0800
changeset 52
db35452e8965
parent 51
9e6c48c2582d
child 53
082f59f5ac64

6810915: Sun proprietary warnings in JDK build
Reviewed-by: ohair

make/Makefile file | annotate | diff | comparison | revisions
make/common/shared/Defs-java.gmk file | annotate | diff | comparison | revisions
     1.1 --- a/make/Makefile	Thu Feb 26 18:28:21 2009 -0800
     1.2 +++ b/make/Makefile	Thu Feb 26 18:32:46 2009 -0800
     1.3 @@ -112,8 +112,6 @@
     1.4    TARGET_JAVA = java
     1.5  endif
     1.6  
     1.7 -NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
     1.8 -
     1.9  SELF = $(lastword $(MAKEFILE_LIST))
    1.10  
    1.11  # for jdk, we generate the following:
     2.1 --- a/make/common/shared/Defs-java.gmk	Thu Feb 26 18:28:21 2009 -0800
     2.2 +++ b/make/common/shared/Defs-java.gmk	Thu Feb 26 18:32:46 2009 -0800
     2.3 @@ -104,6 +104,9 @@
     2.4    JAVACFLAGS  += -Werror
     2.5  endif
     2.6  
     2.7 +NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
     2.8 +JAVACFLAGS  += $(NO_PROPRIETARY_API_WARNINGS)
     2.9 +
    2.10  # Add the source level (currently all source is 1.5, should this be 1.6?)
    2.11  LANGUAGE_VERSION = -source 1.5
    2.12  JAVACFLAGS  += $(LANGUAGE_VERSION)

mercurial