git: openjdk/jdk: master: 8354323: Safeguard SwitchBootstraps.typeSwitch when used outside the compiler

Aggelos Biboudis abimpoudis at openjdk.org
Thu May 22 08:37:29 UTC 2025


Changeset: c0665efd
Branch: master
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Date:      2025-05-22 08:36:47 +0000
URL:       https://git.openjdk.org/jdk/commit/c0665efd4f7f43c567393570ba6872838debd77f

8354323: Safeguard SwitchBootstraps.typeSwitch when used outside the compiler

Reviewed-by: jlahoda, liach

! src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java



More information about the jdk-changes mailing list