[jdk17] RFR: 8269802: javac fails to compile nested pattern matching switches

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Jul 6 09:49:50 UTC 2021


On Fri, 2 Jul 2021 13:19:08 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> There are two places which where `TransPatterns` is mistakenly not translating a subtree: the statements for non-pattern cases, and the selector. This PR is fixing that by translating the statements and selector.

Looks good

-------------

Marked as reviewed by mcimadamore (Reviewer).

PR: https://git.openjdk.java.net/jdk17/pull/203


More information about the compiler-dev mailing list