Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240232

Javadoc fails to link to modular jars from non-modular project

    XMLWordPrintable

Details

    Description

      The javadoc tool fails with "The code being documented uses packages in the unnamed module, but the packages defined in $URL are in named modules." when a non-modular project tries to link to a mdular one.

      See attached zip. Error seen on Windows with JDK 11.0.6 and 13.0.1.

      With a mix of modular and non-modular projects, being able to link to anything seems like a necessity. In this case, the project being linked to (Joda-Convert) has a module-info.class and modular Javadoc.

      This is the opposite case to JDK-8240169 AFAICT.

      Attachments

        Issue Links

          Activity

            People

              hannesw Hannes Wallnoefer
              scolebourne Stephen Colebourne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: