RFR: 8328747: WrongMethodTypeException with pattern matching on switch on sealed classes [v4]
Vicente Romero
vromero at openjdk.org
Thu Apr 4 13:41:09 UTC 2024
On Thu, 4 Apr 2024 09:26:24 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:
>> This PR addresses the issue that the expected signature for `typeSwitch` is different when a release target refers to a version prior to JDK 23. The signature, due to JEP 455, needs to be more precise on the `selectorType` now that primitive type support is previewed.
>
> Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:
>
> Further cleanup
lgtm
-------------
Marked as reviewed by vromero (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18606#pullrequestreview-1979937167
More information about the compiler-dev
mailing list