/[cvs]/jsr166/build.xml
ViewVC logotype

Diff of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.268 by jsr166, Wed Mar 21 20:19:24 2018 UTC revision 1.270 by jsr166, Tue May 8 19:46:11 2018 UTC
# Line 1372  Line 1372 
1372    
1373  <!-- Find buglets that can be detected by static build tools -->  <!-- Find buglets that can be detected by static build tools -->
1374    
1375    <target name="lint">  <!--   <target name="lint"> -->
1376      <antcall target="dists">  <!--     <antcall target="dists"> -->
1377        <param name="build.javadoc.access" value="public"/>  <!--       <param name="build.javadoc.access" value="protected"/> -->
1378      </antcall>  <!--     </antcall> -->
1379    </target>  <!--   </target> -->
1380    
1381  <!-- Generates all doclint warnings, even for private methods (rarely useful) -->  <!-- Generates all doclint warnings, even for private methods (rarely useful) -->
1382    <target name="lint-private">    <target name="doclint-private">
1383      <antcall target="dist">      <antcall target="dist">
1384        <param name="build.javadoc.access" value="private"/>        <param name="build.javadoc.access" value="private"/>
1385      </antcall>      </antcall>
# Line 1389  Line 1389 
1389  <!-- ==============================================================  <!-- ==============================================================
1390    Experimental errorprone support - http://errorprone.info    Experimental errorprone support - http://errorprone.info
1391  =================================================================== -->  =================================================================== -->
1392    <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.2.0.jar"/>    <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.3.1.jar"/>
1393    <property name="errorprone.jsr166.user.flags" value=""/>    <property name="errorprone.jsr166.user.flags" value=""/>
1394    <property name="errorprone.jsr166.flags"    <property name="errorprone.jsr166.flags"
1395              value="-Xep:HashtableContains:OFF              value="-Xep:HashtableContains:OFF
# Line 1455  Line 1455 
1455        workdir="${build.dir}"        workdir="${build.dir}"
1456        classes="${product.jar}">        classes="${product.jar}">
1457        <javac-elements>        <javac-elements>
1458            <compilerarg value="-J--illegal-access=debug"/>
1459          <compilerarg value="-XDcompilePolicy=simple"/>          <compilerarg value="-XDcompilePolicy=simple"/>
1460          <compilerarg line="-processorpath ${errorprone.jar}"/>          <compilerarg line="-processorpath ${errorprone.jar}"/>
1461          <compilerarg value="-Xplugin:ErrorProne          <compilerarg value="-Xplugin:ErrorProne
# Line 1483  Line 1484 
1484          <arg value="-javacoption:-Xplugin:ErrorProne          <arg value="-javacoption:-Xplugin:ErrorProne
1485                              ${errorprone.jsr166.flags}                              ${errorprone.jsr166.flags}
1486                              ${errorprone.jsr166.test.flags}                              ${errorprone.jsr166.test.flags}
1487                                -Xep:MultipleTopLevelClasses:WARN
1488                              -Xep:NonAtomicVolatileUpdate:OFF"/>                              -Xep:NonAtomicVolatileUpdate:OFF"/>
1489        </jtreg-elements>        </jtreg-elements>
1490      </run-jtreg-tests>      </run-jtreg-tests>

Legend:
Removed from v.1.268  
changed lines
  Added in v.1.270

dl@cs.oswego.edu
ViewVC Help
Powered by ViewVC 1.1.27