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

Enhance support for SuppressWarnings

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      Currently, the javac support for SuppressWarnings only supports known warning names.

      It might be interesting to cobsider extending the support for additional names, perhaps keeping the names in some collection (i.e. set or map.)

      This would facilitate other tools that analyze source code to access these warning strings.

      The downside is that we would no longer detect spelling errors.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: