Skip to content

Commit

Permalink
Disable ReturnValueIgnored checks to unblock java_tools release
Browse files Browse the repository at this point in the history
New checks added since the last release break //tools/android/...

Re-enabling this is being tracked in #15219

PiperOrigin-RevId: 441198376
  • Loading branch information
hvadehra authored and copybara-github committed Apr 12, 2022
1 parent d3435b0 commit 9fad5a3
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 9fad5a3

Please sign in to comment.