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

(ann spec) SuppressWarnings strings should be documented

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 8
    • 7
    • core-libs
    • b82
    • generic
    • generic
    • Verified

    Description

      Via email:
      java.lang.SuppressWarnings does not list any of the standard
      suppressible warning strings (such as "unchecked" and "serial" and
      "deprecation"). I understand that this is not a part of the formal
      specification, but the current situation is untenable: it is an oral
      tradition (or you can look in the compiler sources). Could you please
      list "suggested" annotation strings and their meanings in an
      "implementation note" as part of the javadoc for this annotation type?

      Attachments

        Activity

          People

            darcy Joe Darcy
            abuckley Alex Buckley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: