Skip to content

Commit

Permalink
Disable ReturnValueIgnored checks to unblock java_tools release (baze…
Browse files Browse the repository at this point in the history
…lbuild#15559)

New checks added since the last release break //tools/android/...

Re-enabling this is being tracked in bazelbuild#15219

PiperOrigin-RevId: 441198376

Co-authored-by: hvd <hvd@google.com>
  • Loading branch information
ckolli5 and hvadehra committed May 24, 2022
1 parent 18d1ede commit 23b15de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/jdk/default_java_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ DEFAULT_JAVACOPTS = [
"-XDcompilePolicy=simple",
"-g",
"-parameters",
# https://github.com/bazelbuild/java_tools/issues/51#issuecomment-927940699
"-XepOpt:ReturnValueIgnored:ObjectMethods=false",
# https://github.com/bazelbuild/bazel/issues/15219
"-Xep:ReturnValueIgnored:OFF",
]

# java_toolchain parameters without specifying javac, java.compiler,
Expand Down

0 comments on commit 23b15de

Please sign in to comment.