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

Jan Lahoda jlahoda at openjdk.java.net
Wed Jul 7 06:28:53 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.

This pull request has now been integrated.

Changeset: 815e4af3
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/815e4af35d29d0d5606281d36d4ef72b756d38cc
Stats:     124 lines in 2 files changed: 123 ins; 0 del; 1 mod

8269802: javac fails to compile nested pattern matching switches
8269808: javac generates class with invalid stack map

Reviewed-by: mcimadamore

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

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


More information about the compiler-dev mailing list