7018452: langtools not buildable on Mac
authorjjg
Thu, 10 Feb 2011 14:27:34 -0800
changeset 8423 4f9cb86f8e39
parent 8422 b2ac1acf3937
child 8424 5e31b2eb5aa3
7018452: langtools not buildable on Mac Reviewed-by: ohair
langtools/make/build.xml
--- 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}/"/>