Changeset 18309 in josm


Ignore:
Timestamp:
2021-11-04T00:56:52+01:00 (3 years ago)
Author:
Don-vip
Message:

see #21510 - fixup, forgot to delete one part (patch didn't apply nicely)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r18308 r18309  
    303303        <!-- Java 21 specific files (2023-09 LTS) -->
    304304        <call-javac-compile-mrjar release="21"/>
    305         <javac sourcepath="" srcdir="${src.dir}" fork="yes"
    306             excludes="com/**,org/apache/commons/**,**/package-info.java"
    307             destdir="${build.dir}" release="${java.lang.version}" debug="on" includeantruntime="false" encoding="UTF-8">
    308             <compilerarg value="-J-Xbootclasspath/p:${toString:errorprone_javac.classpath}" unless:set="isJava9"/>
    309             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    310             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    311             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    312             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    313             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    314             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    315             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    316             <compilerarg value="-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    317             <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED" if:set="isJava16" unless:set="noErrorProne"/>
    318             <compilerarg line="-XDcompilePolicy=simple"/>
    319             <compilerarg value="-processorpath"/>
    320             <compilerarg pathref="errorprone.classpath"/>
    321             <compilerarg value="-Xlint:cast"/>
    322             <compilerarg value="-Xlint:deprecation"/>
    323             <compilerarg value="-Xlint:dep-ann"/>
    324             <compilerarg value="-Xlint:divzero"/>
    325             <compilerarg value="-Xlint:empty"/>
    326             <compilerarg value="-Xlint:finally"/>
    327             <compilerarg value="-Xlint:overrides"/>
    328             <!--<compilerarg value="-Xlint:rawtypes"/>-->
    329             <compilerarg value="-Xlint:static"/>
    330             <compilerarg value="-Xlint:try"/>
    331             <compilerarg value="-Xlint:unchecked"/>
    332             <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 -->
    333             <compilerarg value="-XDignore.symbol.file"/>
    334             <compilerarg value="-Xplugin:ErrorProne -XepExcludedPaths:.*/parsergen/.* -Xep:ReferenceEquality:OFF -Xep:FutureReturnValueIgnored:OFF -Xep:JdkObsolete:OFF -Xep:EqualsGetClass:OFF -Xep:UndefinedEquals:OFF -Xep:BadImport:OFF -Xep:AnnotateFormatMethod:OFF -Xep:JavaUtilDate:OFF -Xep:DoNotCallSuggester:OFF -Xep:BanSerializableRead:OFF -Xep:RestrictedApiChecker:OFF -Xep:InlineMeSuggester:OFF" unless:set="noErrorProne"/>
    335             <compilerarg line="-Xmaxwarns 1000"/>
    336             <classpath>
    337                 <path refid="runtime.path"/>
    338             </classpath>
    339         </javac>
    340305    </target>
    341306    <target name="create-resources" depends="create-revision" description="Create generated resource files">
Note: See TracChangeset for help on using the changeset viewer.