HBASE-25342 Upgrade error prone to 2.4.0 (#2725)
Have to disable MutablePublicArray because of a bug in error prone https://github.com/google/error-prone/issues/1645 Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
e40c626ae1
commit
107f738049
|
@ -108,7 +108,7 @@
|
|||
<compilerArgs>
|
||||
<arg>-XDcompilePolicy=simple</arg>
|
||||
<!-- All -Xep need to be on single line see: https://github.com/google/error-prone/pull/1115 -->
|
||||
<arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
|
||||
<arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:MutablePublicArray:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
|
||||
<!-- Required when compiling with JDK 8 -->
|
||||
<arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
|
||||
</compilerArgs>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -1650,7 +1650,7 @@
|
|||
-->
|
||||
<checkstyle.version>8.28</checkstyle.version>
|
||||
<exec.maven.version>1.6.0</exec.maven.version>
|
||||
<error-prone.version>2.3.4</error-prone.version>
|
||||
<error-prone.version>2.4.0</error-prone.version>
|
||||
<jamon.plugin.version>2.4.2</jamon.plugin.version>
|
||||
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
|
||||
<maven.antrun.version>1.8</maven.antrun.version>
|
||||
|
|
Loading…
Reference in New Issue