RFR: 8282274: Compiler implementation for Pattern Matching for switch (Third Preview) [v5]

Jan Lahoda jlahoda at openjdk.java.net
Wed Apr 20 20:40:29 UTC 2022


On Wed, 20 Apr 2022 14:50:42 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> nit: just ran langtools tests as part of my routine and these seem to be failing, `CheckExamples.java` due to:
> 
> ```
> test/langtools/tools/javac/diags/examples/FeatureTotalPatternsInInstanceof.java and
> test/langtools/tools/javac/diags/examples/FeatureTotalPatternsInInstanceof.java
> ```
> 
> and this one too:
> 
> ```
> test/langtools/tools/javac/patterns/InstanceofTotalPattern.java (seems to be a golden file issue)
> ```

Thanks for checking and sorry for that. Will fix in next update.

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

PR: https://git.openjdk.java.net/jdk/pull/8182


More information about the compiler-dev mailing list