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?
On Sat, Aug 30, 2025, 12:26 PM Chen Liang <[email protected]> wrote: > On Thu, 14 Aug 2025 04:49:28 GMT, Shaojin Wen <[email protected]> wrote: > > > 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. > > Sure, let's go ahead with this. > > ------------- > > Marked as reviewed by liach (Reviewer). > > PR Review: > https://git.openjdk.org/jdk/pull/26769#pullrequestreview-3171112655 >
