6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
authorandrew
Wed, 19 Aug 2009 20:44:22 +0100
changeset 3658 8ee720a52b7d
parent 3657 25fdd465d1dc
child 3659 7c9f033e5232
6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk Summary: Set source and target explicitly in pcompile task Reviewed-by: jjg
langtools/make/build.xml
--- a/langtools/make/build.xml	Tue Aug 18 17:46:58 2009 -0700
+++ b/langtools/make/build.xml	Wed Aug 19 20:44:22 2009 +0100
@@ -592,6 +592,8 @@
     <target name="-def-pcompile">
         <mkdir dir="${build.toolclasses.dir}"/>
         <javac fork="true"
+               source="${boot.javac.source}"
+               target="${boot.javac.target}"
                executable="${boot.java.home}/bin/javac"
                srcdir="${make.tools.dir}/CompileProperties"
                destdir="${build.toolclasses.dir}/"