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
This commit is contained in:
parent
01264dc673
commit
ea16ce0aa0
|
|
@ -51,7 +51,7 @@ configure(allprojects) { project ->
|
|||
compileJava.options*.compilerArgs = [
|
||||
"-Xlint:serial", "-Xlint:varargs", "-Xlint:cast", "-Xlint:classfile",
|
||||
"-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally",
|
||||
"-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static",
|
||||
"-Xlint:overrides", "-Xlint:path", "-Xlint:-processing", "-Xlint:static",
|
||||
"-Xlint:try", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
|
||||
"-Xlint:unchecked", "-Xlint:-options", "-Werror"
|
||||
]
|
||||
|
|
@ -59,7 +59,7 @@ configure(allprojects) { project ->
|
|||
compileTestJava.options*.compilerArgs = [
|
||||
"-Xlint:serial", "-Xlint:varargs", "-Xlint:cast", "-Xlint:classfile",
|
||||
"-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally",
|
||||
"-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static",
|
||||
"-Xlint:overrides", "-Xlint:path", "-Xlint:-processing", "-Xlint:static",
|
||||
"-Xlint:try", "-Xlint:-fallthrough", "-Xlint:-rawtypes", "-Xlint:-deprecation",
|
||||
"-Xlint:-unchecked", "-Xlint:-options"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue