Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273326 JEP 420: Pattern Matching for switch (Second Preview)
  3. JDK-8279481

Release Note: JEP 420: Pattern Matching for switch (Second Preview)

    XMLWordPrintable

    Details

    • Subcomponent:
    • Verification:
      Verified

      Description

      Enhance the Java programming language with pattern matching for switch expressions and statements, along with extensions to the language of patterns. Extending pattern matching to switch allows an expression to be tested against a number of patterns, each with a specific action, so that complex data-oriented queries can be expressed concisely and safely.

      For further details, see [JEP 420](https://openjdk.java.net/jeps/420).

        Attachments

          Activity

            People

            Assignee:
            jlahoda Jan Lahoda
            Reporter:
            mtrudeau Michel Trudeau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: