Skip to content

Commit 45e7839

Browse files
committed
Add required JDK 21 compiler flag
1 parent 0f891a3 commit 45e7839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
<arg>--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED</arg>
9999
<arg>-XDcompilePolicy=simple</arg>
100100
<arg>--should-stop=ifError=FLOW</arg>
101+
<arg>-XDaddTypeAnnotationsToSymbol=true</arg>
101102
<arg>
102103
-Xplugin:ErrorProne -XepOpt:NullAway:AnnotatedPackages=${nullaway.annotatedPackages} -XepExcludedPaths:${nullaway.excludedPaths} -XepOpt:NullAway:JSpecifyMode=true -XepOpt:NullAway:CheckOptionalEmptiness=true
103104
</arg>

0 commit comments

Comments
 (0)