[
https://issues.apache.org/jira/browse/CASSANDRA-15760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Angelo Polo updated CASSANDRA-15760:
------------------------------------
Labels: patch (was: )
> 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
> Priority: Normal
> Labels: patch
> 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: [email protected]
For additional commands, e-mail: [email protected]