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

Update javax.lang.model.SourceVersion for "var" name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None

      Backports

        Description

        Local Variable Type Inference adds special handling for the name "var". The name-handling methods in javax.lang.model.SourceVersion should be updated to describe how "var" is handled.

        Even if there is no change in behavior, the semantics on var should be documented.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: