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

Document set of strings javac recognizes for SuppressWarnings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • 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).

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

                Created:
                Updated:
                Resolved: