Merge
authortbell
Thu, 11 Jun 2009 21:26:25 -0700
changeset 2967 faa3111c009c
parent 2902 dbb955b1ee59 (current diff)
parent 2966 b6cb15e139ac (diff)
child 2968 fe183c0b19a9
child 3518 c4483e76656e
Merge
jaxp/make/Makefile
jaxp/make/build.properties
jaxp/make/build.xml
--- a/jaxp/make/Makefile	Wed Jul 05 16:54:26 2017 +0200
+++ b/jaxp/make/Makefile	Thu Jun 11 21:26:25 2009 -0700
@@ -81,7 +81,15 @@
   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)
--- a/jaxp/make/build.properties	Wed Jul 05 16:54:26 2017 +0200
+++ b/jaxp/make/build.properties	Thu Jun 11 21:26:25 2009 -0700
@@ -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
--- a/jaxp/make/build.xml	Wed Jul 05 16:54:26 2017 +0200
+++ b/jaxp/make/build.xml	Thu Jun 11 21:26:25 2009 -0700
@@ -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"/>