Skip to content

Commit 49ced38

Browse files
committed
Add -XDaddTypeAnnotationsToSymbol=true flag required by Error Prone 2.48.0 on JDK 17+
1 parent e0612b3 commit 49ced38

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
@@ -875,6 +875,7 @@ under the License.
875875
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
876876
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
877877
<arg>--should-stop=ifError=FLOW</arg>
878+
<arg>-XDaddTypeAnnotationsToSymbol=true</arg>
878879
</compilerArgs>
879880
<annotationProcessorPaths combine.children="append">
880881
<path>

0 commit comments

Comments
 (0)