Integrated: 8365620: Using enhanced switch in MethodHandleDesc
Shaojin Wen
swen at openjdk.org
Mon Sep 1 05:57:50 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.
This pull request has now been integrated.
Changeset: a668f437
Author: Shaojin Wen <swen at openjdk.org>
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
More information about the core-libs-dev
mailing list