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

Document set of strings javac recognizes for SuppressWarnings

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 19
    • 19
    • tools
    • b29

    Backports

      Description

        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).

        Attachments

          Issue Links

            Activity

              People

                jjg Jonathan Gibbons
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: