<div dir="auto">Wait, I am confused why you are leaving the default clause in there? Isn't it to your benefit to replace the default clause and include each value explicitly?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Aug 30, 2025, 12:26 PM Chen Liang <<a href="mailto:liach@openjdk.org">liach@openjdk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 14 Aug 2025 04:49:28 GMT, Shaojin Wen <<a href="mailto:swen@openjdk.org" target="_blank" rel="noreferrer">swen@openjdk.org</a>> wrote:<br>
<br>
> In MethodHandleDesc, the `ofField` method uses enhanced switch, while the `of` and `ofMethod` methods use traditional switch. The same class should have a unified style.<br>
<br>
Sure, let's go ahead with this.<br>
<br>
-------------<br>
<br>
Marked as reviewed by liach (Reviewer).<br>
<br>
PR Review: <a href="https://git.openjdk.org/jdk/pull/26769#pullrequestreview-3171112655" rel="noreferrer noreferrer" target="_blank">https://git.openjdk.org/jdk/pull/26769#pullrequestreview-3171112655</a><br>
</blockquote></div>