[ https://issues.apache.org/jira/browse/CASSANDRA-14988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748543#comment-16748543 ]
Tommy Stendahl commented on CASSANDRA-14988: -------------------------------------------- Hi [~djoshi3] Thanks for looking in to this issue. I use Oracle jdk 11.0.2 and ant 1.10.5. {noformat} $ echo $JAVA_HOME /usr/lib/jvm/jdk-11.0.2/ $ echo $JAVA8_HOME /usr/lib/jvm/jdk1.8.0_191{noformat} To reproduce the problem I build with {{ant realclean build javadoc}}, if I just do {{ant realclean javadoc}} I don't get this problem. I tested with OpenJdk 11.0.2 and got the same issue, I have also tested Oracle jdk 11.0 and 11.0.1. > 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