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

Update javax.lang.model for switch expressions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:

      Description

      After switch expressions are added as a full non-preview feature (JDK-8232684), portions of javax.lang.model should be updated accordingly, including the description of SourceVersion.RELEASE_14.

      The isName/isIdentifier, etc. test cases for "var" should be replicated for "yield".

      If it is not already updated, the javac-internal Source enum should be updated similarly.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: