From 3995a90e33061106cb99f439f99a6ea8c75a1588 Mon Sep 17 00:00:00 2001 From: Eric Bottard Date: Wed, 26 Nov 2025 18:39:04 +0100 Subject: [PATCH] Disable ErrorProne standard checks This disable the built-in ErrorProne checks (not the null-away ones). This allows shaving some precious seconds on the build until we optimize it further using other mechanisms, at which point this can be re-enabled. Signed-off-by: Eric Bottard --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4520ae83496..c368fcd47c6 100644 --- a/pom.xml +++ b/pom.xml @@ -495,7 +495,7 @@ -parameters -XDcompilePolicy=simple --should-stop=ifError=FLOW - -Xplugin:ErrorProne -Xep:NullAway:ERROR -XepOpt:NullAway:OnlyNullMarked -XepOpt:NullAway:JSpecifyMode=true + -Xplugin:ErrorProne -XepDisableAllChecks -Xep:NullAway:ERROR -XepOpt:NullAway:OnlyNullMarked -XepOpt:NullAway:JSpecifyMode=true -J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED