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

Provide a way to disable warnings for cross-modular links

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 11, 15, 16, 17
    • 18
    • tools
    • None
    • b27
    • generic
    • generic

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: