git: openjdk/jdk: master: 8375119: SwitchBoostraps.enumSwitch does not throw an NPE when lookup is null in some cases

Jan Lahoda jlahoda at openjdk.org
Fri Jan 23 07:42:38 UTC 2026


Changeset: 315bf07b
Branch: master
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2026-01-23 07:40:52 +0000
URL:       https://git.openjdk.org/jdk/commit/315bf07b23ad6c5f86fc8fe976abd9e9a8548404

8375119: SwitchBoostraps.enumSwitch does not throw an NPE when lookup is null in some cases

Reviewed-by: liach

! src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java
! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java



More information about the jdk-changes mailing list