RFR: 8365620: Using enhanced switch in MethodHandleDesc
Chen Liang
liach at openjdk.org
Sat Aug 30 16:25:42 UTC 2025
On Thu, 14 Aug 2025 04:49:28 GMT, Shaojin Wen <swen at openjdk.org> 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
More information about the core-libs-dev
mailing list