Skip to content

Commit

Permalink
Disable -Xdoclint in javac-turbine
Browse files Browse the repository at this point in the history
to avoid the performance overhead, and to allow tree pruning to
remove imports that are only used in javadoc.

PiperOrigin-RevId: 260817438
  • Loading branch information
cushon authored and copybara-github committed Jul 30, 2019
1 parent 4285b4b commit 7113b16
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ static ImmutableList<String> processJavacopts(TurbineOptions turbineOptions) {
builder.add("8");
}

builder.add("-Xdoclint:none");

if (!turbineOptions.processors().isEmpty()) {
builder.add("-processor");
builder.add(Joiner.on(',').join(turbineOptions.processors()));
Expand Down

0 comments on commit 7113b16

Please sign in to comment.