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.

          Issue Links

            Activity

            Show
            darcy Joe Darcy added a comment - Review thread: http://mail.openjdk.java.net/pipermail/compiler-dev/2017-September/011112.html
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk/jdk10/rev/239c7d9bb192
            User: darcy
            Date: 2018-01-09 01:37:16 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk10/rev/239c7d9bb192 User: darcy Date: 2018-01-09 01:37:16 +0000

              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: