Skip to content

Commit

Permalink
Add -XDcompilePolicy=simple to default javacopts
Browse files Browse the repository at this point in the history
it is required by Error Prone, see linked bug.

Fixes #12270

PiperOrigin-RevId: 338634333
  • Loading branch information
comius authored and copybara-github committed Oct 23, 2020
1 parent b26a1a5 commit 8cec289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/jdk/default_java_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ JDK9_JVM_OPTS = [

DEFAULT_JAVACOPTS = [
"-XDskipDuplicateBridges=true",
"-XDcompilePolicy=simple",
"-g",
"-parameters",
]
Expand Down
1 change: 1 addition & 0 deletions tools/jdk/java_toolchain_default.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

_DEFAULT_JAVACOPTS = [
"-XDskipDuplicateBridges=true",
"-XDcompilePolicy=simple",
"-g",
"-parameters",
]
Expand Down

0 comments on commit 8cec289

Please sign in to comment.