New [draft] JEPs for Pattern Matching

Gavin Bierman gavin.bierman at
Mon Oct 29 13:51:07 UTC 2018

In the context of the new rapid release model for Java, we’d like to break up the proposed pattern matching features so we can deliver them to you faster.

To that end, we’ve rewritten JEP 305 to now cover adding pattern matching to just instanceof:

And there’s a new draft JEP that covers adding pattern matching to switch (and some other possible extensions):

Essentially this is just dividing the old pattern matching JEP into two parts.

Comments welcome!

More information about the amber-dev mailing list