Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15760

Javadoc fails on java 11: unexported package

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Platform:
      Java11
    • Impacts:
      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

          Activity

            People

              Dates

              • Created:
                Updated:

                Issue deployment