changeset 899:747a7601b6d6

7018452: langtools not buildable on Mac Reviewed-by: ohair
author jjg
date Thu, 10 Feb 2011 14:27:34 -0800
parents a19b1f4f23c9
children e0c16199b2e0
files make/build.xml
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/build.xml	Thu Feb 10 14:24:26 2011 -0800
+++ b/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}/"/>