--- a/langtools/make/build.xml Thu Feb 10 14:24:26 2011 -0800
+++ b/langtools/make/build.xml Thu Feb 10 14:27:34 2011 -0800
@@ -868,8 +868,10 @@
executable="${boot.java.home}/bin/javac"
srcdir="${make.tools.dir}/GenStubs"
destdir="${build.toolclasses.dir}/"
- classpath="${build.bootstrap.dir}/classes:${ant.core.lib}"
- includeantruntime="false"/>
+ classpath="${ant.core.lib}"
+ includeantruntime="false">
+ <compilerarg value="-Xbootclasspath/p:${build.bootstrap.dir}/classes"/>
+ </javac>
<taskdef name="genstubs"
classname="GenStubs$$Ant"
classpath="${build.toolclasses.dir}/"/>