From e36c2b85ba8300a635f3cd6eeba6ebd6c4007313 Mon Sep 17 00:00:00 2001
From: Damien Martin-Guillerez
- -g -source 7 -target 7 -encoding UTF-8 -Xlint:divzero,empty,path,-options -Werror:+divzero,+empty,+path + -source 8 -target 8 -encoding UTF-8
Note that changing --javacopt
settings will force a recompilation
@@ -1485,37 +1486,6 @@ Subtractive patterns:
command line after these options.
-Werror:(+|-)warning[,(+|-)warning]*
- This javac option enables selective treating of warnings as errors. To specify
- all or none of the warnings, use +all
or -all
.
- The last specification for any warning wins. A typical value that enables all
- warnings as errors except those that may be caused upstream is:
-
- -Werror:+all,-deprecation,-unchecked -- -
- The divzero and empty javac warnings are promoted to errors by default. These
- errors cannot be disabled from the Bazel command line or the BUILD file.
- However, in extreme cases they may be disabled by adding a
- @SuppressWarnings({"divzero", "empty"})
annotation to your Java
- source.
-
-extra_checks[:(off|on)]
- This javac option enables extra correctness checks. Any problems found will
- be presented as errors.
- Either -extra_checks
or -extra_checks:on
may be used
- to force the checks to be turned on. -extra_checks:off
completely
- disables the analysis.
- When this option is not specified, the default behavior is used.
-
--strict_java_deps
(default|strict|off|warn|error)
-- cgit v1.2.3