diff buildtools/nasgen/build.xml @ 1130:deeaf44a2ca1

8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME Reviewed-by: lagergren, hannesw
author sundar
date Fri, 05 Dec 2014 14:35:00 +0530
parents 36d6b6a3fbe0
children
line wrap: on
line diff
--- a/buildtools/nasgen/build.xml	Thu Dec 04 15:23:04 2014 -0800
+++ b/buildtools/nasgen/build.xml	Fri Dec 05 14:35:00 2014 +0530
@@ -43,7 +43,7 @@
            classpath="${javac.classpath}"
            debug="${javac.debug}"
            includeantruntime="false" fork="true">
-      <compilerarg value="-J-Djava.ext.dirs="/>
+      <compilerarg value="-J-Xbootclasspath/p:${javac.classpath}"/>
       <compilerarg value="-Xlint:unchecked"/>
       <compilerarg value="-Xlint:deprecation"/>
       <compilerarg value="-XDignore.symbol.file"/>