Provide a way to disable warnings for cross-modular links

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 18
    • Affects Version/s: 11, 15, 16, 17
    • Component/s: tools
    • None
    • b27
    • generic
    • generic

        Since JDK-8240169 javadoc is able to create external links to libraries documented with "mismatching" modularity. However, a warning such as the following is generated when this happens:

        warning: The code being documented uses packages in the unnamed module, but the packages defined in <URL> are in named modules.

        This is a problem for projects using the -Werror option to treat warnings as errors. The message should probably be purely informational and not a warning.

        Update: It was decided that the warning should remain as default behaviour, but it should be possible to disable it via a new option.

              Assignee:
              Hannes Wallnoefer
              Reporter:
              Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: