You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/12/02 14:23:30 UTC

[hbase] branch master updated: HBASE-25342 Upgrade error prone to 2.4.0 (#2725)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 107f738  HBASE-25342 Upgrade error prone to 2.4.0 (#2725)
107f738 is described below

commit 107f73804919f9494b25f42a837df1ee0b6cfa22
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed Dec 2 22:23:03 2020 +0800

    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 <st...@apache.org>
---
 hbase-build-configuration/pom.xml | 2 +-
 pom.xml                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-build-configuration/pom.xml b/hbase-build-configuration/pom.xml
index 4bab5e9..49a1dea 100644
--- a/hbase-build-configuration/pom.xml
+++ b/hbase-build-configuration/pom.xml
@@ -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>
diff --git a/pom.xml b/pom.xml
index 5b95ca4..05fde4f 100755
--- a/pom.xml
+++ b/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>