6854244: change source/target used to compile JDK to 7

Mon, 27 Jul 2009 15:19:26 -0700

author
jjg
date
Mon, 27 Jul 2009 15:19:26 -0700
changeset 100
2a160e4e0d06
parent 96
a821e059a961
child 101
ad500347ebc8

6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair

make/Makefile file | annotate | diff | comparison | revisions
make/common/shared/Defs-java.gmk file | annotate | diff | comparison | revisions
     1.1 --- a/make/Makefile	Thu Jul 16 10:53:05 2009 -0700
     1.2 +++ b/make/Makefile	Mon Jul 27 15:19:26 2009 -0700
     1.3 @@ -110,7 +110,7 @@
     1.4  ifdef TARGET_CLASS_VERSION
     1.5      TARGET_LEVEL = $(TARGET_CLASS_VERSION)
     1.6  else
     1.7 -    TARGET_LEVEL = 6
     1.8 +    TARGET_LEVEL = 7
     1.9  endif
    1.10  
    1.11  ifndef TARGET_JAVA
     2.1 --- a/make/common/shared/Defs-java.gmk	Thu Jul 16 10:53:05 2009 -0700
     2.2 +++ b/make/common/shared/Defs-java.gmk	Mon Jul 27 15:19:26 2009 -0700
     2.3 @@ -107,12 +107,12 @@
     2.4  NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
     2.5  JAVACFLAGS  += $(NO_PROPRIETARY_API_WARNINGS)
     2.6  
     2.7 -# Add the source level (currently all source is 1.5, should this be 1.6?)
     2.8 -LANGUAGE_VERSION = -source 1.5
     2.9 +# Add the source level
    2.10 +LANGUAGE_VERSION = -source 7
    2.11  JAVACFLAGS  += $(LANGUAGE_VERSION)
    2.12  
    2.13 -# Add the class version we want (currently this is 5, should it be 6 or even 7?)
    2.14 -TARGET_CLASS_VERSION = 5
    2.15 +# Add the class version we want
    2.16 +TARGET_CLASS_VERSION = 7
    2.17  CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
    2.18  JAVACFLAGS  += $(CLASS_VERSION)
    2.19  JAVACFLAGS  += -encoding ascii

mercurial