JSR 396 (Java SE 21): JEP Proposed to Target: 443: Unnamed Patterns and Variables (Preview)
Iris Clark
iris.clark at oracle.com
Tue May 9 00:14:36 UTC 2023
The following JEP with scope "SE" has been proposed to target JDK 21:
443: Unnamed Patterns and Variables (Preview)
https://openjdk.org/jeps/443
Summary: Enhance the Java language with unnamed patterns, which match
a record component without stating the component's name or type, and
unnamed variables, which can be initialized but not used. Both are
denoted by an underscore character, _. This is a preview language
feature.
The announced deadline for feedback to jdk-dev is Mon 15 May 23:59 UTC:
https://mail.openjdk.org/pipermail/jdk-dev/2023-May/007748.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.org/jeps/1
A dashboard that lists JEPs with "SE" scope may be found via a link on this
page:
https://openjdk.org/projects/jdk/21/spec/
Thanks,
Iris
More information about the java-se-spec-experts
mailing list