This is an automated email from the ASF dual-hosted git repository. alexey pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 922ab9e7d46f683a5e04b4e36b1af9b95e96e025 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 --- 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.
