diff --git a/tools/jdk/default_java_toolchain.bzl b/tools/jdk/default_java_toolchain.bzl index 0324a50c7f264d..2888c88661c3a4 100644 --- a/tools/jdk/default_java_toolchain.bzl +++ b/tools/jdk/default_java_toolchain.bzl @@ -56,6 +56,7 @@ DEFAULT_JAVACOPTS = [ "-Xep:IgnoredPureGetter:OFF", "-Xep:EmptyTopLevelDeclaration:OFF", "-Xep:LenientFormatStringValidation:OFF", + "-Xep:ReturnMissingNullable:OFF", ] # Default java_toolchain parameters