jdk/make/common/shared/Defs-java.gmk
changeset 2920 345857eb0f3b
parent 2399 8152d21ae245
child 3329 51166c6dca11
--- a/jdk/make/common/shared/Defs-java.gmk	Wed May 20 10:12:37 2009 +0800
+++ b/jdk/make/common/shared/Defs-java.gmk	Wed May 20 13:55:50 2009 -0700
@@ -123,7 +123,8 @@
 endif
 
 # Add the source level (currently all source is 1.5, should this be 1.6?)
-LANGUAGE_VERSION = -source 1.5
+SOURCE_LANGUAGE_VERSION = 5
+LANGUAGE_VERSION = -source $(SOURCE_LANGUAGE_VERSION)
 JAVACFLAGS  += $(LANGUAGE_VERSION)
 
 # Add the class version we want (currently this is 5, should it be 6 or even 7?)