git: openjdk/jdk: 8318144: Match on enum constants with body compiles but fails with MatchException
Jan Lahoda
jlahoda at openjdk.org
Tue Nov 7 12:08:04 UTC 2023
Changeset: 541ff714
Author: Jan Lahoda <jlahoda at openjdk.org>
Date: 2023-11-07 12:05:58 +0000
URL: https://git.openjdk.org/jdk/commit/541ff7149f9c6480535219ab06a2576f8399703a
8318144: Match on enum constants with body compiles but fails with MatchException
Reviewed-by: liach, vromero
! src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java
! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java
+ test/langtools/tools/javac/patterns/SwitchEnumConstants.java
More information about the jdk-changes
mailing list