RFR: 8269674: Improve testing of parenthesized patterns
Jan Lahoda
jlahoda at openjdk.org
Thu Jul 7 08:10:29 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
Looks good to me!
-------------
Marked as reviewed by jlahoda (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9344
More information about the compiler-dev
mailing list