nashorn/make/build.xml
changeset 18865 8844964e5fc5
parent 18851 bdb92c95f886
child 19082 6926097854f6
--- 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 &quot;&quot;"/>
+           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 -->