<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Glavo,
<div><br>
</div>
<div>There was some discussion about the reasons for previewing on the spec-experts list: <a href="https://mail.openjdk.org/pipermail/amber-spec-experts/2025-April/004254.html">https://mail.openjdk.org/pipermail/amber-spec-experts/2025-April/004254.html</a>
<div><br>
</div>
<div>The basic point is that this JEP overlaps with forthcoming features in Valhalla; so we’re being cautious to make sure we don’t have to undo something that crops up from Valhalla.</div>
<div><br>
</div>
<div>Kind request in the meantime: Please try this feature out in anger, and report back what you found (good and bad). We need more feedback from the community on preview features like this one :-)</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Gavin<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 14 Apr 2025, at 22:54, Glavo <zjx001202@gmail.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<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>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>