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

Javadoc fails on java 11: unexported package

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: