Skip to content

Commit

Permalink
Remove default javacopts for BanSerializableRead
Browse files Browse the repository at this point in the history
This check is disabled by default in Error Prone 2.6.0

PiperOrigin-RevId: 367486315
  • Loading branch information
cushon authored and copybara-github committed Apr 8, 2021
1 parent c177d88 commit 91483e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/jdk/default_java_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ DEFAULT_JAVACOPTS = [
"-XDcompilePolicy=simple",
"-g",
"-parameters",
# see https://github.com/bazelbuild/bazel/pull/13016
"-Xep:BanSerializableRead:OFF",
]

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

0 comments on commit 91483e8

Please sign in to comment.