6827026: Change javac source and target default to 7

Wed, 20 May 2009 13:41:23 -0700

author
jjg
date
Wed, 20 May 2009 13:41:23 -0700
changeset 83
2752d8bd4142
parent 75
e9ba2b962ddf
child 84
23f2c435056b

6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair

make/Makefile file | annotate | diff | comparison | revisions
     1.1 --- a/make/Makefile	Thu May 14 10:57:56 2009 -0700
     1.2 +++ b/make/Makefile	Wed May 20 13:41:23 2009 -0700
     1.3 @@ -106,7 +106,12 @@
     1.4  
     1.5  SOURCE_LEVEL = 5
     1.6  BOOTSTRAP_TARGET_LEVEL = 5
     1.7 -TARGET_LEVEL = 6
     1.8 +
     1.9 +ifdef TARGET_CLASS_VERSION
    1.10 +    TARGET_LEVEL = $(TARGET_CLASS_VERSION)
    1.11 +else
    1.12 +    TARGET_LEVEL = 6
    1.13 +endif
    1.14  
    1.15  ifndef TARGET_JAVA
    1.16    TARGET_JAVA = java

mercurial