changeset 1436:15878be84b9d

6854244: change source/target used to compile JDK to 7 Reviewed-by: ohair
author jjg
date Mon, 27 Jul 2009 15:19:55 -0700
parents 74c4b8c743fb
children 056c8e724015
files make/common/shared/Defs-control.gmk make/common/shared/Defs-java.gmk make/java/dyn/Makefile
diffstat 3 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Defs-control.gmk	Mon Jul 27 19:22:11 2009 +0100
+++ b/make/common/shared/Defs-control.gmk	Mon Jul 27 15:19:55 2009 -0700
@@ -92,9 +92,9 @@
 dummy := $(shell $(MKDIR) -p $(TEMP_DIR))
 
 # The language version we want for this jdk build
-SOURCE_LANGUAGE_VERSION=5
+SOURCE_LANGUAGE_VERSION=7
 # The class version we want for this jdk build
-TARGET_CLASS_VERSION=5
+TARGET_CLASS_VERSION=7
 
 # The MESSAGE, WARNING and ERROR files are used to store sanity check and 
 # source check messages, warnings and errors. 
--- a/make/common/shared/Defs-java.gmk	Mon Jul 27 19:22:11 2009 +0100
+++ b/make/common/shared/Defs-java.gmk	Mon Jul 27 15:19:55 2009 -0700
@@ -122,13 +122,13 @@
   JAVACFLAGS  += -Werror
 endif
 
-# Add the source level (currently all source is 1.5, should this be 1.6?)
-SOURCE_LANGUAGE_VERSION = 5
+# Add the source level
+SOURCE_LANGUAGE_VERSION = 7
 LANGUAGE_VERSION = -source $(SOURCE_LANGUAGE_VERSION)
 JAVACFLAGS  += $(LANGUAGE_VERSION)
 
-# Add the class version we want (currently this is 5, should it be 6 or even 7?)
-TARGET_CLASS_VERSION = 5
+# Add the class version we want
+TARGET_CLASS_VERSION = 7
 CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
 JAVACFLAGS  += $(CLASS_VERSION)
 JAVACFLAGS  += -encoding ascii
--- a/make/java/dyn/Makefile	Mon Jul 27 19:22:11 2009 +0100
+++ b/make/java/dyn/Makefile	Mon Jul 27 15:19:55 2009 -0700
@@ -33,8 +33,8 @@
 
 # The sources built here use new language syntax to generate
 # method handle calls.  Let's be sure we are using that format.
-#LANGUAGE_VERSION = -source 7
-#CLASS_VERSION = -target 7
+LANGUAGE_VERSION = -source 7
+CLASS_VERSION = -target 7
 
 # Actually, it will be less disruptive to compile with the same
 # -target option as the rest of the system, and just turn on