New candidate JEP: 443: Unnamed Patterns and Variables (Preview)

Mark Reinhold mark.reinhold at oracle.com
Tue Mar 21 19:17:30 UTC 2023


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.

- Mark


More information about the jdk-dev mailing list