Skip to content

Commit 7dcc01e

Browse files
author
Phillip Webb
committed
Disable processing javac warnings
Set `-Xlint:-processing` to disable annotation processing warnings. Required when building on JDK 1.8.0_20-b05 due to JDK-8039469. Issue: SPR-11973 (cherry picked from commit ea16ce0)
1 parent adb73d5 commit 7dcc01e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ configure(allprojects) { project ->
4343
compileJava.options*.compilerArgs = [
4444
"-Xlint:serial", "-Xlint:varargs", "-Xlint:cast", "-Xlint:classfile",
4545
"-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally",
46-
"-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static",
46+
"-Xlint:overrides", "-Xlint:path", "-Xlint:-processing", "-Xlint:static",
4747
"-Xlint:try", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
4848
"-Xlint:unchecked", "-Xlint:-options", "-Werror"
4949
]
5050

5151
compileTestJava.options*.compilerArgs = [
5252
"-Xlint:serial", "-Xlint:varargs", "-Xlint:cast", "-Xlint:classfile",
5353
"-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally",
54-
"-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static",
54+
"-Xlint:overrides", "-Xlint:path", "-Xlint:-processing", "-Xlint:static",
5555
"-Xlint:try", "-Xlint:-fallthrough", "-Xlint:-rawtypes", "-Xlint:-deprecation",
5656
"-Xlint:-unchecked", "-Xlint:-options"]
5757

0 commit comments

Comments
 (0)