-
Type:
Bug
-
Status: Triage Needed
-
Priority:
Normal
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: Build, Documentation/Javadoc
-
Labels:
-
Platform:Java11
-
Impacts:None
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.