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

Provide a way to disable warnings for cross-modular links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 18
    • 11, 15, 16, 17
    • 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.

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

                Created:
                Updated:
                Resolved: