Skip to content

Commit 6b2e2c3

Browse files
committed
chore(javac): update javac args to allow errorprone on JDK21
1 parent f108292 commit 6b2e2c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
145145
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
146146
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
147+
<!-- Required for errorprone in JDK21 See https://errorprone.info/docs/installation -->
148+
<arg>-XDaddTypeAnnotationsToSymbol=true</arg>
147149
</compilerArgs>
148150
<annotationProcessorPaths>
149151
<path>

0 commit comments

Comments
 (0)