Changeset 15963 in josm for trunk/build.xml


Ignore:
Timestamp:
2020-02-29T16:02:30+01:00 (6 years ago)
Author:
Don-vip
Message:

see #17516 - update to error-prone 2.3.5-SNAPSHOT plus following patches for Java 13 compatibility (https://github.com/don-vip/error-prone/commits/jdk13):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r15816 r15963  
    4343        <property name="error_prone_core.jar" location="${tools.dir}/error_prone_core.jar"/>
    4444        <property name="error_prone_javac.jar" location="${tools.dir}/error_prone_javac.jar"/>
     45        <property name="auto-value-annotations.jar" location="${tools.dir}/auto-value-annotations.jar"/>
    4546        <property name="dataflow.jar" location="${tools.dir}/dataflow.jar"/>
    4647        <property name="javacutil.jar" location="${tools.dir}/javacutil.jar"/>
     
    102103            <pathelement location="${guava.jar}"/>
    103104            <pathelement location="${jformatstring.jar}"/>
     105            <pathelement location="${auto-value-annotations.jar}"/>
    104106        </path>
    105107    </target>
     
    357359            <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 -->
    358360            <compilerarg value="-XDignore.symbol.file"/>
    359             <compilerarg value="-Xplugin:ErrorProne -Xep:CatchAndPrintStackTrace:OFF -Xep:ReferenceEquality:OFF -Xep:StringSplitter:OFF"/>
     361            <compilerarg value="-Xplugin:ErrorProne -Xep:CatchAndPrintStackTrace:OFF -Xep:ReferenceEquality:OFF -Xep:StringSplitter:OFF -Xep:BadImport:OFF"/>
    360362            <compilerarg line="-Xmaxwarns 1000"/>
    361363        </javac>
     
    383385            <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 -->
    384386            <compilerarg value="-XDignore.symbol.file"/>
    385             <compilerarg value="-Xplugin:ErrorProne -Xep:ReferenceEquality:OFF -Xep:ImmutableEnumChecker:OFF -Xep:FutureReturnValueIgnored:OFF -Xep:FloatingPointLiteralPrecision:OFF -Xep:ShortCircuitBoolean:OFF -Xep:StringSplitter:OFF -Xep:JdkObsolete:OFF -Xep:UnnecessaryParentheses:OFF -Xep:EqualsGetClass:OFF -Xep:ThreadPriorityCheck:OFF -Xep:UndefinedEquals:OFF -Xep:MixedMutabilityReturnType:OFF -Xep:OverrideThrowableToString:OFF -Xep:JavaTimeDefaultTimeZone:OFF -Xep:UnusedVariable:OFF -Xep:EqualsUsingHashCode:OFF"/>
     387            <compilerarg value="-Xplugin:ErrorProne -Xep:ReferenceEquality:OFF -Xep:ImmutableEnumChecker:OFF -Xep:FutureReturnValueIgnored:OFF -Xep:FloatingPointLiteralPrecision:OFF -Xep:ShortCircuitBoolean:OFF -Xep:StringSplitter:OFF -Xep:JdkObsolete:OFF -Xep:UnnecessaryParentheses:OFF -Xep:EqualsGetClass:OFF -Xep:ThreadPriorityCheck:OFF -Xep:UndefinedEquals:OFF -Xep:MixedMutabilityReturnType:OFF -Xep:OverrideThrowableToString:OFF -Xep:JavaTimeDefaultTimeZone:OFF -Xep:UnusedVariable:OFF -Xep:EqualsUsingHashCode:OFF -Xep:BadImport:OFF -Xep:UnnecessaryLambda:OFF -Xep:AnnotateFormatMethod:OFF -Xep:MutablePublicArray:OFF"/>
    386388            <compilerarg line="-Xmaxwarns 1000"/>
    387389            <exclude name="org/openstreetmap/josm/io/audio/fx/*.java" if:set="noJavaFX"/>
Note: See TracChangeset for help on using the changeset viewer.