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

Introduce DISABLED_WARNINGS_doclint

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 15
    • Component/s: infrastructure
    • Labels:

      Description

      Similar to the proposal in JDK-8149110, we should generalize the doclint options.

      The proposal is to always set "-Xdoclint:all/protected -Xdoclint/package:java.*,javax.*" for all java code, and where this triggers warnings, add e.g.

      java.management_DISABLED_WARNINGS_doclint := reference

      to get "-Xdoclint:all/protected,-reference" or

      jdk.compiler_DISABLED_WARNINGS_doclint_packages := com.sun.tools.*

      to get "-Xdoclint/package:-com.sun.tools.*"

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: