6827026: Change javac source and target default to 7
authorjjg
Wed, 20 May 2009 13:41:23 -0700
changeset 2961 bf41fd0e654e
parent 2822 c4e0d46ffa79
child 2962 3f693add9708
6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair
corba/make/Makefile
--- a/corba/make/Makefile	Thu May 14 10:57:56 2009 -0700
+++ b/corba/make/Makefile	Wed May 20 13:41:23 2009 -0700
@@ -106,7 +106,12 @@
 
 SOURCE_LEVEL = 5
 BOOTSTRAP_TARGET_LEVEL = 5
-TARGET_LEVEL = 6
+
+ifdef TARGET_CLASS_VERSION
+    TARGET_LEVEL = $(TARGET_CLASS_VERSION)
+else
+    TARGET_LEVEL = 6
+endif
 
 ifndef TARGET_JAVA
   TARGET_JAVA = java