Document set of strings javac recognizes for SuppressWarnings

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: tools
    • b29

        Besides a number of strings mandated in JLS 9.6.4.5, the set of strings recognized by a Java compiler for SuppressWarnings are implementation-dependent.

        It would be helpful for the set of strings javac recognizes to be more explicitly documented, say in the jdk.compiler module docs. If such documentation is present, other JDK docs could be updated to reference it (JDK-8280745).

              Assignee:
              Jonathan Gibbons
              Reporter:
              Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: