Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
Documentation
-
Low
-
Low Hanging Fruit
-
User Report
-
Java11
-
None
-
Description
Javadoc generation fails on java 11 due to an unexported package:
[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
The attached patch adds the existing "jdk11-javac-exports" property as an embedded argument to the <javadoc> called in the create-javadoc macro.
Attachments
Attachments
Issue Links
- is fixed by
-
CASSANDRA-15809 ASF CI builds for JDK11
- Resolved