[ 
https://issues.apache.org/jira/browse/CASSANDRA-14988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748467#comment-16748467
 ] 

Dinesh Joshi commented on CASSANDRA-14988:
------------------------------------------

Hi [~tommy_s] I can't repro this issue. My build goes through fine with OpenJDK 
11.0.2. See below -

{noformat}
     [exec] copying static files... done
     [exec] copying extra files... done
     [exec] dumping search index in English (code: en) ... done
     [exec] dumping object inventory... done
     [exec] build succeeded, 153 warnings.
     [exec]
     [exec] The HTML pages are in build/html.
     [exec]
     [exec] Build finished. The HTML pages are in build/html.

BUILD SUCCESSFUL
Total time: 1 minute 58 seconds
{noformat}

Could you please add more info here? JDK version, are you using OpenJDK or 
Oracle JDK? How are you invoking the doc generation?  What are your environment 
variables set to esp. JAVA_HOME and JAVA8_HOME?

> Building javadoc with Java11 fails
> ----------------------------------
>
>                 Key: CASSANDRA-14988
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14988
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation/Javadoc
>            Reporter: Tommy Stendahl
>            Assignee: Tommy Stendahl
>            Priority: Blocker
>              Labels: Java11
>             Fix For: 4.0
>
>
> When building trunk with Java11 building javadoc fails with this error:
> {noformat}
> [javadoc] 
> /repos/tmp/cassandra/src/java/org/apache/cassandra/hints/HintsBufferPool.java:28:
>  error: package sun.nio.ch is not visible
> [javadoc] import sun.nio.ch.DirectBuffer;
> [javadoc] ^
> [javadoc] (package sun.nio.ch is declared in module java.base, which does not 
> export it to the unnamed module)
> [javadoc] 1 error{noformat}
> This import is unused and was probably added by mistake, removing it fixes 
> the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to