Skip to content

Commit

Permalink
Disable ReturnValueIgnored checks to unblock java_tools release (#15559)
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

Co-authored-by: hvd <[email protected]>
  • Loading branch information
ckolli5 and hvadehra authored 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.