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

javac could provide warnings for unused local variables and private fields

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P3
    • 11
    • 7
    • tools
    • generic
    • generic

    Description

      Review feedback on the implementation of Project Coin's ARM blocks/try-with-resources statement noted that a warning is issued for an unused resource variables but that an analagous warnings is not used for other kinds of unused local variables. For consistency, a general unused local variable warning may be helpful.

      Attachments

        Issue Links

          Activity

            People

              vromero Vicente Arturo Romero Zaldivar
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: