Fri, 08 Jan 2010 13:14:45 -0800
6915152: langtools build failures with import.jdk on Windows
Reviewed-by: ohair
make/build.xml | file | annotate | diff | comparison | revisions |
1.1 --- a/make/build.xml Fri Jan 08 11:32:57 2010 -0800 1.2 +++ b/make/build.xml Fri Jan 08 13:14:45 2010 -0800 1.3 @@ -107,14 +107,21 @@ 1.4 ignoresystemclasses="true" 1.5 classpath="${import.jdk}/jre/lib/rt.jar" classname="java.nio.file.Path"/> 1.6 1.7 + <!-- Set the default value of the sourcepath used for javac. --> 1.8 <condition property="javac.sourcepath" value="${build.genstubs.dir}" else=""> 1.9 <isset property="import.jdk.src.dir"/> 1.10 </condition> 1.11 1.12 + <!-- Set the default value of the classpath used for javac. --> 1.13 <property name="javac.classpath" value=""/> 1.14 1.15 + <!-- Set the default bootclasspath option used for javac. 1.16 + Note that different variants of the option are used, meaning we can't just 1.17 + define the value for the option. 1.18 + Note the explicit use of the standard property ${path.separator} in the following. 1.19 + This is because Ant is not clever enough to handle direct use of : or ; --> 1.20 <condition property="javac.bootclasspath.opt" 1.21 - value="-Xbootclasspath:${build.classes.dir}:${import.jdk.jar}" 1.22 + value="-Xbootclasspath:${build.classes.dir}${path.separator}${import.jdk.jar}" 1.23 else="-Xbootclasspath/p:${build.classes.dir}"> 1.24 <isset property="import.jdk.jar"/> 1.25 </condition>