You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/04/29 14:39:00 UTC

[jira] [Commented] (CASSANDRA-15760) Javadoc fails on java 11: unexported package

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

Ekaterina Dimitrova commented on CASSANDRA-15760:
-------------------------------------------------

Hey [~polo-language],

Thank you for the report and the patch! Appreciate it as usual.

I think this issue might have been fixed in the meanwhile as I tried to run
{code:java}
ant javadoc{code}
with
{code:java}
Java 11{code}
and while there are a lot of warnings and errors, the mentioned one does not exist. After applying your patch the mentioned issues are still there. At the same time the build is marked as successful...

/CC [~mck]

> Javadoc fails on java 11: unexported package
> --------------------------------------------
>
>                 Key: CASSANDRA-15760
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15760
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build, Documentation/Javadoc
>            Reporter: Angelo Polo
>            Assignee: Angelo Polo
>            Priority: Normal
>         Attachments: 0001-Javadoc-requires-module-exports-too-on-java-11.patch
>
>
> Javadoc generation fails on java 11 due to an unexported package:
> {noformat}
> [javadoc] Constructing Javadoc information...
> [javadoc] /my/local/cassandra/src/java/org/apache/cassandra/utils/JMXServerUtils.java:311: error: package sun.rmi.registry is not visible
> [javadoc]     private static class JmxRegistry extends sun.rmi.registry.RegistryImpl {
> [javadoc]                                                     ^
> [javadoc]   (package sun.rmi.registry is declared in module java.rmi, which does not export it to the unnamed module)
> [javadoc] 1 error{noformat}
> The attached patch adds the existing "jdk11-javac-exports" property as an embedded argument to the <javadoc> called in the create-javadoc macro.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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