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

(ann spec) SuppressWarnings strings should be documented

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b82
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: