Remove default javacopts for `BanSerializableRead`
This check is disabled by default in Error Prone 2.6.0
@@ -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,
