Changeset 14109 in josm
- Timestamp:
- 2018-08-08T22:58:16+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r14096 r14109 65 65 <matches string="${ant.java.version}" pattern="1[1-9]" /> 66 66 </condition> 67 <!-- Disable error_proneon Java 10+, see https://github.com/google/error-prone/issues/860 -->67 <!-- error_prone works differently on Java 10+, see https://github.com/google/error-prone/issues/860 --> 68 68 <condition property="javac.compiler" value="modern" else="com.google.errorprone.ErrorProneAntCompilerAdapter"> 69 69 <isset property="isJava10"/> … … 333 333 <pathelement location="${error_prone_ant.jar}"/> 334 334 </compilerclasspath> 335 <compilerarg line="-XDcompilePolicy=simple" compiler="modern"/> 336 <compilerarg line="-processorpath ${error_prone_ant.jar}" compiler="modern"/> 335 337 <compilerarg value="-Xlint:cast"/> 336 338 <compilerarg value="-Xlint:deprecation"/> … … 349 351 <compilerarg value="-Xep:ReferenceEquality:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/> 350 352 <compilerarg value="-Xep:StringSplitter:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/> 353 <compilerarg value="-Xplugin:ErrorProne -Xep:CatchAndPrintStackTrace:OFF -Xep:ReferenceEquality:OFF -Xep:StringSplitter:OFF" compiler="modern"/> 351 354 <compilerarg line="-Xmaxwarns 1000"/> 352 355 </javac> … … 360 363 <pathelement location="${error_prone_ant.jar}"/> 361 364 </compilerclasspath> 365 <compilerarg line="-XDcompilePolicy=simple" compiler="modern"/> 366 <compilerarg line="-processorpath ${error_prone_ant.jar}" compiler="modern"/> 362 367 <compilerarg value="-Xlint:cast"/> 363 368 <compilerarg value="-Xlint:deprecation"/> … … 380 385 <compilerarg value="-Xep:StringSplitter:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/> 381 386 <compilerarg value="-Xep:JdkObsolete:OFF" compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"/> 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" compiler="modern"/> 382 388 <compilerarg line="-Xmaxwarns 1000"/> 383 389 <exclude name="org/openstreetmap/josm/io/audio/fx/*.java" if:set="noJavaFX"/>
Note:
See TracChangeset
for help on using the changeset viewer.