New [draft] JEPs for Pattern Matching

Gavin Bierman gavin.bierman at oracle.com
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:

https://bugs.openjdk.java.net/browse/JDK-8181287

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

https://bugs.openjdk.java.net/browse/JDK-8213076

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

Comments welcome!
Gavin





More information about the amber-dev mailing list