6854244: change source/target used to compile JDK to 7
authorjjg
Mon, 27 Jul 2009 15:19:26 -0700
changeset 3357 554aac3029bc
parent 3256 62109d1b9e73
child 3358 d4b60a33650f
6854244: change source/target used to compile JDK to 7 Reviewed-by: ohair
corba/make/Makefile
corba/make/common/shared/Defs-java.gmk
--- a/corba/make/Makefile	Wed Jul 05 16:57:01 2017 +0200
+++ b/corba/make/Makefile	Mon Jul 27 15:19:26 2009 -0700
@@ -110,7 +110,7 @@
 ifdef TARGET_CLASS_VERSION
     TARGET_LEVEL = $(TARGET_CLASS_VERSION)
 else
-    TARGET_LEVEL = 6
+    TARGET_LEVEL = 7
 endif
 
 ifndef TARGET_JAVA
--- a/corba/make/common/shared/Defs-java.gmk	Wed Jul 05 16:57:01 2017 +0200
+++ b/corba/make/common/shared/Defs-java.gmk	Mon Jul 27 15:19:26 2009 -0700
@@ -107,12 +107,12 @@
 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
+# Add the source level
+LANGUAGE_VERSION = -source 7
 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