changeset 107:2752d8bd4142

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 e9ba2b962ddf
children 23f2c435056b
files make/Makefile
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Thu May 14 10:57:56 2009 -0700
+++ b/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