Two new draft pattern matching JEPs

Gavin Bierman gavin.bierman at
Thu Feb 18 12:33:20 UTC 2021

Dear all,

The next steps in adding pattern matching to Java are coming! I have drafted two new JEPs:

- Nested Record and Array Patterns:

- Pattern Matching for switch:

We split them up to try to keep the complexity down, but we might decide to merge them into a single JEP. Let me know what you think. 

Draft language specs are under way - I will announce those as soon as they are ready.

Comments welcome as always!


More information about the amber-spec-experts mailing list