Integrated: 8269674: Improve testing of parenthesized patterns

Aggelos Biboudis abimpoudis at openjdk.org
Mon Jul 11 11:16:36 UTC 2022


On Fri, 1 Jul 2022 08:46:58 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> Introduces a combo test (compile-time) for parenthesized patterns. Subsumes `test/langtools/tools/javac/patterns/Parenthesized.java` (can be safely deleted, if yes, I can port the comment section with the bug ids). 
> 
> Bugs addressed:
> - `case (StringBox(String s1))` raised a parse error

This pull request has now been integrated.

Changeset: bba6be79
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bba6be79e06b2b83b97e6def7b6a520e93f5737c
Stats:     174 lines in 2 files changed: 169 ins; 4 del; 1 mod

8269674: Improve testing of parenthesized patterns

Reviewed-by: jlahoda

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

PR: https://git.openjdk.org/jdk/pull/9344


More information about the compiler-dev mailing list