Skip to content

Commit bdf04a8

Browse files
committed
fix: remove all errorprone flags from compiler arguments
1 parent 0a90978 commit bdf04a8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
<artifactId>error_prone_core</artifactId>
7676
<!-- 2.32.0 and 2.33.0 break our java 11 build with compiler errors, I reported this to the
7777
errorprone team, but try upgrading to new versions in the future-->
78+
<!-- This version is only compatible with JDKs < 24. We have a profile below that disables
79+
errorprone for JDKs >= 24. -->
7880
<version>2.31.0</version>
7981
</dependency>
8082
<dependency>
@@ -172,8 +174,8 @@
172174
<configuration>
173175
<fork>true</fork>
174176
<compilerArgs combine.children="append">
177+
<!-- we only use the basic compilation flags without activating errorprone -->
175178
<arg>-XDcompilePolicy=simple</arg>
176-
<arg>-Xplugin:ErrorProne -XepDisableAllChecks</arg>
177179
</compilerArgs>
178180
</configuration>
179181
</plugin>

0 commit comments

Comments
 (0)