This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch branch-1.14.x
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/branch-1.14.x by this push:
new f396e48 KUDU-3239: [build] Disable errorprone on Java 11
f396e48 is described below
commit f396e485089f43c925ccbd41efe951b2ad5187b9
Author: Grant Henke <[email protected]>
AuthorDate: Tue Jan 26 13:44:16 2021 -0600
KUDU-3239: [build] Disable errorprone on Java 11
It turns out that errorprone is not working with Java 11. This patch
disables it until we can upgrade/update the errorprone plugin to
work on with Java 11.
Change-Id: Ic13f771222e67ac754f464f8015caf0a4901831d
Reviewed-on: http://gerrit.cloudera.org:8080/16983
Reviewed-by: Bankim Bhavsar <[email protected]>
Reviewed-by: Hao Hao <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Kudu Jenkins
(cherry picked from commit 922ab9e7d46f683a5e04b4e36b1af9b95e96e025)
Reviewed-on: http://gerrit.cloudera.org:8080/16986
Tested-by: Grant Henke <[email protected]>
---
java/gradle/quality.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/java/gradle/quality.gradle b/java/gradle/quality.gradle
index f4ca7a8..02a8966 100644
--- a/java/gradle/quality.gradle
+++ b/java/gradle/quality.gradle
@@ -74,9 +74,9 @@ tasks.withType(ScalaCompile) {
}
}
-// Errorprone doesn't support Java 12+
+// Errorprone doesn't support Java 11+
// https://github.com/google/error-prone/issues/1106
-if(!JavaVersion.current().isJava12Compatible()) {
+if(!JavaVersion.current().isJava11Compatible()) {
apply plugin: "net.ltgt.errorprone" // Performs static code analysis to look
for bugs in Java code.
// Configure error-prone.