提交 7cde326a 编写于 作者: J jjg

6810915: Sun proprietary warnings in JDK build

Reviewed-by: ohair
上级 c5761e11
...@@ -129,6 +129,9 @@ JAVACFLAGS += $(OTHER_JAVACFLAGS) ...@@ -129,6 +129,9 @@ JAVACFLAGS += $(OTHER_JAVACFLAGS)
# Needed for javah # Needed for javah
JAVAHFLAGS += -bootclasspath $(CLASSBINDIR) JAVAHFLAGS += -bootclasspath $(CLASSBINDIR)
# Needed for JAVADOC and BOOT_JAVACFLAGS
NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
# Langtools # Langtools
ifdef LANGTOOLS_DIST ifdef LANGTOOLS_DIST
JAVAC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javac.jar JAVAC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javac.jar
...@@ -192,6 +195,8 @@ endif ...@@ -192,6 +195,8 @@ endif
BOOT_JAVACFLAGS += -encoding ascii BOOT_JAVACFLAGS += -encoding ascii
BOOT_JAR_JFLAGS += $(JAR_JFLAGS) BOOT_JAR_JFLAGS += $(JAR_JFLAGS)
BOOT_JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS)
BOOT_JAVA_CMD = $(BOOTDIR)/bin/java $(JAVA_TOOLS_FLAGS) BOOT_JAVA_CMD = $(BOOTDIR)/bin/java $(JAVA_TOOLS_FLAGS)
BOOT_JAVAC_CMD = $(BOOTDIR)/bin/javac $(JAVAC_JVM_FLAGS) $(BOOT_JAVACFLAGS) BOOT_JAVAC_CMD = $(BOOTDIR)/bin/javac $(JAVAC_JVM_FLAGS) $(BOOT_JAVACFLAGS)
BOOT_JAR_CMD = $(BOOTDIR)/bin/jar BOOT_JAR_CMD = $(BOOTDIR)/bin/jar
......
...@@ -45,6 +45,7 @@ endif ...@@ -45,6 +45,7 @@ endif
DOCSTMPDIR = $(TEMPDIR)/doctmp DOCSTMPDIR = $(TEMPDIR)/doctmp
COMMON_JAVADOCFLAGS = \ COMMON_JAVADOCFLAGS = \
$(NO_PROPRIETARY_API_WARNINGS) \
-source 1.5 \ -source 1.5 \
-quiet \ -quiet \
-use \ -use \
......
...@@ -47,7 +47,7 @@ swing-1.2-beans-debug: ...@@ -47,7 +47,7 @@ swing-1.2-beans-debug:
LOCAL_JAVADOC = $(JAVADOC_CMD) $(JAVADOCFLAGS) LOCAL_JAVADOC = $(JAVADOC_CMD) $(JAVADOCFLAGS)
# get the absolute path to the jar command. # get the absolute path to the jar command.
PREFIX = 1.2 PREFIX = 1.2
JAVADOCFLAGS = $(LANGUAGE_VERSION) JAVADOCFLAGS = $(NO_PROPRIETARY_API_WARNINGS) $(LANGUAGE_VERSION)
SWINGPKG = javax/swing SWINGPKG = javax/swing
LOCAL_JAVAC_FLAGS = $(OTHER_JAVACFLAGS) LOCAL_JAVAC_FLAGS = $(OTHER_JAVACFLAGS)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册