git: openjdk/jdk: 8328747: WrongMethodTypeException with pattern matching on switch on sealed classes

Aggelos Biboudis abimpoudis at openjdk.org
Fri Apr 5 08:06:15 UTC 2024


Changeset: 8efe569b
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Date:      2024-04-05 08:05:53 +0000
URL:       https://git.openjdk.org/jdk/commit/8efe569b8dc0ae865aa75757ca0e5c4cda12aa61

8328747: WrongMethodTypeException with pattern matching on switch on sealed classes

Reviewed-by: cushon, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
+ test/langtools/tools/javac/T8328747.java



More information about the jdk-changes mailing list