Skip to content

Commit

Permalink
document JDK11 javadoc problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesamuel committed Oct 2, 2019
1 parent 7d88413 commit 8d85dc5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/build_for_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)[67]($|[^0-9])'; then
# but Guava 21.0 is compatibility with jdk 7.
COMMON_FLAGS="$COMMON_FLAGS -Dguava.version=20.0"
fi
if ! echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)9($|[^0-9])'; then
if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)([678]|11)($|[^0-9])'; then
# Older versions of javadoc barf on -Xdoclint flags used
# to configure the maven-javadoc-plugin.
# TODO: Newer versions barf on modules for some reason.
# JDK8 javadoc barfs on the flag "-html5]
# JDK11 barfs too. https://bugs.openjdk.java.net/browse/JDK-8212233
# JDK9 is okay. Yay!
COMMON_FLAGS="$COMMON_FLAGS -Dmaven.javadoc.skip=true"
fi

Expand Down

0 comments on commit 8d85dc5

Please sign in to comment.