NO-JIRA: make errorprone consistently opt-in on all JDKs as it already is on JDK8 and 16 due to required forking

This commit is contained in:
Robbie Gemmell 2021-08-05 15:41:05 +01:00 committed by clebertsuconic
parent 63ccba3bdf
commit 9989d9c4fc
1 changed files with 3 additions and 1 deletions

View File

@ -947,6 +947,9 @@
<id>jdk11to15-errorprone</id>
<activation>
<jdk>[11,16)</jdk>
<property>
<name>errorprone</name>
</property>
</activation>
<build>
<plugins>
@ -967,7 +970,6 @@
</profile>
<profile>
<id>jdk16-errorprone</id>
<!-- This is very slow due to all the compiler forking required, so made it opt-in with -Derrorprone -->
<!-- TODO: MissingOverride check only warns in this profile for now, as JDK15+ added a toString method to CharSequence -->
<activation>
<jdk>16</jdk>