[ https://issues.apache.org/jira/browse/ARROW-5764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874515#comment-16874515 ]
Sutou Kouhei edited comment on ARROW-5764 at 6/27/19 9:25 PM: -------------------------------------------------------------- We can suppress this error by passing {{-source 8}} to {{javadoc}}. But should we do this? was (Author: kou): We can suppress this error by passing {-source 8} to {javadoc}. But should we do this? > [Java] Failed to build document with OpenJDK 11 > ----------------------------------------------- > > Key: ARROW-5764 > URL: https://issues.apache.org/jira/browse/ARROW-5764 > Project: Apache Arrow > Issue Type: Bug > Components: Java > Reporter: Sutou Kouhei > Priority: Blocker > Fix For: 0.14.0 > > > It reports the following error: > {noformat} > [ERROR] Exit code: 1 - javadoc: error - The code being documented uses > modules but the packages defined in http://docs.oracle.com/javase/8/docs/api/ > are in the unnamed module. > {noformat} > See also: https://travis-ci.org/kou/arrow/jobs/551254733#L1453 > This branch just enables Javadoc with OpenJDK 11: > https://github.com/kou/arrow/commit/1eeded4b9d18d474721733751f57392cee766004.diff > {noformat} > diff --git a/.travis.yml b/.travis.yml > index 5dc901561e8..1d6ba86dc2d 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -225,6 +225,7 @@ matrix: > - if [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi > script: > - $TRAVIS_BUILD_DIR/ci/travis_script_java.sh > + - $TRAVIS_BUILD_DIR/ci/travis_script_javadoc.sh > - name: "Integration w/ OpenJDK 8, conda-forge toolchain" > language: java > os: linux > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)