<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Gavin Bierman" <gavin.bierman@oracle.com><br><b>To: </b>"amber-spec-experts" <amber-spec-experts@openjdk.java.net><br><b>Sent: </b>Wednesday, October 19, 2022 12:22:55 AM<br><b>Subject: </b>Draft Spec for Fourth Preview of Pattern Matching for Switch (JEP 433) and Second Preview of Record Patterns (JEP 432) now available<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
<div class="">Dear experts:</div>
<div class=""><br class="">
</div>
<div class="">The first draft of a joint spec covering JEP 433 (Fourth Preview of Pattern Matching for switch)  and JEP 432 (Record Patterns) is available at:</div>
<div class=""><br class="">
</div>
<a href="https://cr.openjdk.java.net/~gbierman/jep432+433/latest" class="" target="_blank">https://cr.openjdk.java.net/~gbierman/jep432+433/latest</a>
<div class=""><br class="">
</div>
<div class="">This covers all the changes for these JEPs *apart* from the proposal to infer type arguments in patterns. This will be added and announced shortly.</div>
<div class=""><br class="">
</div>
<div class="">Comments welcomed!</div>
<div class="">Gavin</div></blockquote><div><br></div><div>Still very disappointed that i can not express that i want the compiler to not compile a switch if a record has a new record component.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>RĂ©mi<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></div></div></body></html>