Mercurial > hg > icedtea9-forest > corba
changeset 114:8001ba2bf10d
6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
Summary: The bootstrap javac currently uses the default source and targets of the boot javac
Reviewed-by: jjg, ohair
author | andrew |
---|---|
date | Thu, 20 Aug 2009 01:28:58 +0100 |
parents | 175bd6877954 |
children | 309d97756352 04414f276160 |
files | make/common/shared/Defs-java.gmk |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/common/shared/Defs-java.gmk Fri Aug 14 08:49:25 2009 -0700 +++ b/make/common/shared/Defs-java.gmk Thu Aug 20 01:28:58 2009 +0100 @@ -179,7 +179,9 @@ ifeq ($(COMPILER_WARNINGS_FATAL), true) BOOT_JAVACFLAGS += -Werror endif -BOOT_JAVACFLAGS += -encoding ascii +BOOT_SOURCE_LANGUAGE_VERSION = 6 +BOOT_TARGET_CLASS_VERSION = 6 +BOOT_JAVACFLAGS += -encoding ascii -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION) BOOT_JAVA_CMD = $(BOOTDIR)/bin/java $(JAVA_TOOLS_FLAGS) BOOT_JAVAC_CMD = $(BOOTDIR)/bin/javac $(JAVAC_JVM_FLAGS) $(BOOT_JAVACFLAGS)