changeset 2961:bf41fd0e654e

6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair
author jjg
date Wed, 20 May 2009 13:41:23 -0700
parents c4e0d46ffa79
children 3f693add9708
files corba/make/Makefile
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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