ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/build.xml
(Generate patch)

Comparing jsr166/build.xml (file contents):
Revision 1.268 by jsr166, Wed Mar 21 20:19:24 2018 UTC vs.
Revision 1.271 by jsr166, Tue May 15 22:36:42 2018 UTC

# Line 1372 | Line 1372
1372  
1373   <!-- Find buglets that can be detected by static build tools -->
1374  
1375 <  <target name="lint">
1376 <    <antcall target="dists">
1377 <      <param name="build.javadoc.access" value="public"/>
1378 <    </antcall>
1379 <  </target>
1375 > <!--   <target name="lint"> -->
1376 > <!--     <antcall target="dists"> -->
1377 > <!--       <param name="build.javadoc.access" value="protected"/> -->
1378 > <!--     </antcall> -->
1379 > <!--   </target> -->
1380  
1381   <!-- Generates all doclint warnings, even for private methods (rarely useful) -->
1382 <  <target name="lint-private">
1382 >  <target name="doclint-private">
1383      <antcall target="dist">
1384        <param name="build.javadoc.access" value="private"/>
1385      </antcall>
# Line 1389 | Line 1389
1389   <!-- ==============================================================
1390    Experimental errorprone support - http://errorprone.info
1391   =================================================================== -->
1392 <  <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.2.0.jar"/>
1392 >  <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.3.1.jar"/>
1393    <property name="errorprone.jsr166.user.flags" value=""/>
1394    <property name="errorprone.jsr166.flags"
1395              value="-Xep:HashtableContains:OFF
# Line 1433 | Line 1433
1433             fork="true">
1434  
1435        <include name="**/*.java"/>
1436 +      <compilerarg value="-J--illegal-access=debug"/>
1437        <compilerarg value="-XDcompilePolicy=simple"/>
1438        <compilerarg line="-processorpath ${errorprone.jar}"/>
1439        <compilerarg value="-Xplugin:ErrorProne
# Line 1455 | Line 1456
1456        workdir="${build.dir}"
1457        classes="${product.jar}">
1458        <javac-elements>
1459 +        <compilerarg value="-J--illegal-access=debug"/>
1460          <compilerarg value="-XDcompilePolicy=simple"/>
1461          <compilerarg line="-processorpath ${errorprone.jar}"/>
1462          <compilerarg value="-Xplugin:ErrorProne
# Line 1483 | Line 1485
1485          <arg value="-javacoption:-Xplugin:ErrorProne
1486                              ${errorprone.jsr166.flags}
1487                              ${errorprone.jsr166.test.flags}
1488 +                            -Xep:MultipleTopLevelClasses:WARN
1489                              -Xep:NonAtomicVolatileUpdate:OFF"/>
1490        </jtreg-elements>
1491      </run-jtreg-tests>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines