JSR 394 (Java SE 19): JEP Proposed to Target: 427: Pattern Matching for switch (Third Preview)

Iris Clark iris.clark at oracle.com
Thu May 5 17:11:57 UTC 2022


The following JEP with scope "SE" has been proposed to target JDK 19:

  427: Pattern Matching for switch (Third Preview)
       https://openjdk.java.net/jeps/427

  Summary: Enhance the Java programming language with pattern matching
  for switch expressions and statements. 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. This is a preview language feature.

The deadline for feedback to jdk-dev is Thu 11 May 23:59 UTC:

    https://mail.openjdk.java.net/pipermail/jdk-dev/2022-April/006531.html

If there are no unresolved objections at that time, then the JEP will be moved
to the Targeted state, indicating that the feature is expected to appear in
the specified release of the JDK Project.  For more information about states,
see the JEP Process document:

    https://openjdk.java.net/jeps/1

A dashboard that lists JEPs with "SE" scope may be found via a link on this
page:

    https://openjdk.java.net/projects/jdk/19/spec/

Thanks,
Iris


More information about the java-se-spec-experts mailing list