6827026: Change javac source and target default to 7
authorjjg
Wed May 20 13:41:23 2009 -0700 (10 months ago)
changeset 822752d8bd4142
parent 74e9ba2b962ddf
child 8323f2c435056b
6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
make/Makefile
--- 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 @@ endif
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