<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>It looks like it has not changed since the original version (JEP 488).</div><div>Why does it need a third preview? This makes it not production-ready in JDK 25.</div><div>Is there some hidden danger that I'm not aware of that makes people hesitant about it?</div><div><br></div><div>Glavo</div></div></div></div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 15, 2025 at 4:17 AM Mark Reinhold <<a href="mailto:mark.reinhold@oracle.com">mark.reinhold@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://openjdk.org/jeps/507" rel="noreferrer" target="_blank">https://openjdk.org/jeps/507</a><br>
<br>
Summary: Enhance pattern matching by allowing primitive types in all<br>
pattern contexts, and extend instanceof and switch to work with all<br>
primitive types. This is a preview language feature.<br>
<br>
- Mark</blockquote></div>