Skip to content

Commit 8d85dc5

Browse files
committed
document JDK11 javadoc problem
1 parent 7d88413 commit 8d85dc5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/build_for_travis.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)[67]($|[^0-9])'; then
1515
# but Guava 21.0 is compatibility with jdk 7.
1616
COMMON_FLAGS="$COMMON_FLAGS -Dguava.version=20.0"
1717
fi
18-
if ! echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)9($|[^0-9])'; then
18+
if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)([678]|11)($|[^0-9])'; then
1919
# Older versions of javadoc barf on -Xdoclint flags used
2020
# to configure the maven-javadoc-plugin.
21-
# TODO: Newer versions barf on modules for some reason.
21+
# JDK8 javadoc barfs on the flag "-html5]
22+
# JDK11 barfs too. https://bugs.openjdk.java.net/browse/JDK-8212233
23+
# JDK9 is okay. Yay!
2224
COMMON_FLAGS="$COMMON_FLAGS -Dmaven.javadoc.skip=true"
2325
fi
2426

0 commit comments

Comments
 (0)