--- a/nashorn/make/build.xml Wed Jul 10 19:08:04 2013 +0530
+++ b/nashorn/make/build.xml Thu Jul 11 16:34:55 2013 +0530
@@ -219,8 +219,10 @@
target="${javac.target}"
debug="${javac.debug}"
encoding="${javac.encoding}"
- includeantruntime="false">
- <compilerarg line="-extdirs """/>
+ includeantruntime="false" fork="true">
+ <compilerarg value="-J-Djava.ext.dirs="/>
+ <compilerarg value="-Xlint:unchecked"/>
+ <compilerarg value="-Xlint:deprecation"/>
</javac>
<!-- tests that check nashorn internals and internal API -->