You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2026/09/05 15:55:03 UTC

(lucene) branch branch_10x updated: Temporarily turn off null checks in errorprone. #16639

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

dweiss pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_10x by this push:
     new 3e10598519f Temporarily turn off null checks in errorprone. #16639
3e10598519f is described below

commit 3e10598519f921e67881267bbcc6e993ac6ef919
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Sat Sep 5 17:54:54 2026 +0200

    Temporarily turn off null checks in errorprone. #16639
---
 .../java/org/apache/lucene/gradle/plugins/java/ErrorPronePlugin.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/java/ErrorPronePlugin.java b/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/java/ErrorPronePlugin.java
index 8aee71c5cf5..8a1838acfdf 100644
--- a/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/java/ErrorPronePlugin.java
+++ b/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/java/ErrorPronePlugin.java
@@ -730,7 +730,9 @@ public class ErrorPronePlugin extends LuceneGradlePlugin {
     "RecordComponentOverride:OFF", // not applicable in Lucene
     "RectIntersectReturnValueIgnored:OFF", // we don't use android
     "RedundantControlFlow:OFF", // stylistic
-    "RedundantNullCheck:ERROR",
+    // TODO: re-enable once JDK 21.0.8+ is installed on Jenkins/ CI boxes.
+    // https://github.com/apache/lucene/issues/16639
+    "RedundantNullCheck:OFF",
     "RedundantOverride:OFF", // TODO: new, not checked if applicable to Lucene
     "RedundantSetterCall:OFF", // we don't use protobuf
     "RedundantThrows:OFF", // TODO: new, not checked if applicable to Lucene