summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Pete Gillin <peteg@google.com> 2019-06-10 14:20:11 +0100
committer Pete Gillin <peteg@google.com> 2019-06-10 14:37:41 +0100
commit2b1ea2edb3b4ef7ff86c3f6b9271fddc0ac90926 (patch)
treef6c23af5bc24653068cc8665abb01627f3364f2a /java/java.go
parent14bb14e0c32e1ba656069f8af5819b5f41d1ea03 (diff)
Don't specify -encoding twice in Jdiff javadoc invocations.
The option '-encoding UTF-8' is included in the opts defined at L1754, which are passed to transformJdiff (defined at L1594), and from there to a javadoc rule (defined at L29), where they are included in a command line string which already has '-encoding UTF-8' in it. The result is that this appears twice in the command line. This is apparently ignored by the version of javadoc currently used. Later upstream versions of javadoc, however, fail with the error 'javadoc: error - The -encoding option may be specified no more than once.' Test: make system-api-stubs-docs Test: make system-api-stubs-docs, using an OpenJDK 11 toolchain via OVERRIDE_ANDROID_JAVA_HOME Bug: 131683177 Change-Id: Ib9382ada3c8259edfacb2be3ab14d4c09d8753a7
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions