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

Issue more comprehensive warnings for use of "var" in earlier source versions

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        Under JDK-8189146, the use of the name "var" for a type under pre-10 source levels emits a warning. However, there are other possible uses of the name "var" which merit a warning and those should be added.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mcimadamore Maurizio Cimadamore
                Reporter:
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: