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. This pull request has now been integrated. Changeset: a668f437 Author: Shaojin Wen <[email protected]> URL: https://git.openjdk.org/jdk/commit/a668f437e481d02cbb82d4f40dd14ec3a6036399 Stats: 26 lines in 1 file changed: 0 ins; 14 del; 12 mod 8365620: Using enhanced switch in MethodHandleDesc Reviewed-by: liach ------------- PR: https://git.openjdk.org/jdk/pull/26769
