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
--- 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}/"