diff options
author | tbell <none@none> | 2009-06-11 21:26:25 -0700 |
---|---|---|
committer | tbell <none@none> | 2009-06-11 21:26:25 -0700 |
commit | c6fd7da2930644460c744fac30633c3edd6c041c (patch) | |
tree | e326933ad14f93920b75fdaab632b848224cfc87 /make | |
parent | bfe60666b4393833f62d84eaffa84766e0cd6af0 (diff) | |
parent | 458c0403e21696a3e06f0dfa6b6431216b3fb41f (diff) | |
download | jdk8u_jaxp-c6fd7da2930644460c744fac30633c3edd6c041c.tar.gz |
Merge
Diffstat (limited to 'make')
-rw-r--r-- | make/Makefile | 10 | ||||
-rw-r--r-- | make/build.properties | 1 | ||||
-rw-r--r-- | make/build.xml | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/make/Makefile b/make/Makefile index ab49ed7..1e01fc8 100644 --- a/make/Makefile +++ b/make/Makefile @@ -81,7 +81,15 @@ else ifdef JAVAC_TARGET_ARG ANT_OPTIONS += -Djavac.target=$(JAVAC_TARGET_ARG) endif -endif +endif + +ifdef SOURCE_LANGUAGE_VERSION + ANT_OPTIONS += -Djavac.source=$(SOURCE_LANGUAGE_VERSION) +else + ifdef JAVAC_SOURCE_ARG + ANT_OPTIONS += -Djavac.source=$(JAVAC_SOURCE_ARG) + endif +endif ifdef ALT_BOOTDIR ANT_JAVA_HOME = JAVA_HOME=$(ALT_BOOTDIR) diff --git a/make/build.properties b/make/build.properties index f634f26..ed59810 100644 --- a/make/build.properties +++ b/make/build.properties @@ -30,6 +30,7 @@ # one of the standard user build.properties files (see build.xml) # options for the <javac> tasks used to compile the tools +javac.source = 5 javac.target = 5 javac.debug = true javac.no.jdk.warnings = -XDignore.symbol.file=true diff --git a/make/build.xml b/make/build.xml index 277e0c9..c9439d0 100644 --- a/make/build.xml +++ b/make/build.xml @@ -85,6 +85,7 @@ destdir="${build.classes.dir}" memoryInitialSize="${javac.memoryInitialSize}" memoryMaximumSize="${javac.memoryMaximumSize}" + source="${javac.source}" debug="${javac.debug}" target="${javac.target}"> <compilerarg value="-J-Xbootclasspath/p:${bootstrap.dir}/lib/javac.jar"/> |