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

javac could provide warnings for unused local variables and private fields

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: