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

Javadoc fails on java 11: unexported package

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Documentation
    • Low
    • Low Hanging Fruit
    • User Report
    • Java11
    • None
    • Hide

      doc

      Show
      doc

    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            polo-language Angelo Polo Assign to me
            polo-language Angelo Polo
            Angelo Polo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment