Skip to content

Commit

Permalink
Replace deprecated BazelJavaBuilder flag '-extra_checks'
Browse files Browse the repository at this point in the history
Using the flag '-extra_checks' was generating the following error:
BazelJavaBuilder threw exception: -extra_checks is no longer supported; use\
-XepDisableAllChecks to disable Error Prone
  • Loading branch information
Francois Budin committed Aug 2, 2017
1 parent 8723a41 commit ace4a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lcm.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ java_library(
srcs = glob(["lcm-java/lcm/**/*.java"]),
javacopts = [
# Suppressed until lcm-proj/lcm#159 is fixed.
"-extra_checks:off",
"-XepDisableAllChecks",
],
runtime_deps = [
"@com_jidesoft_jide_oss//jar",
Expand Down

0 comments on commit ace4a3b

Please sign in to comment.