RFR: 8300543 Compiler Implementation for Pattern Matching for switch [v12]

phuchau1989 duke at openjdk.org
Tue Dec 12 07:52:48 UTC 2023


On Fri, 19 May 2023 12:42:22 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> This is the first draft of a patch for JEP 440 and JEP 441. Changes included:
>> 
>>  - the pattern matching for switch and record patterns features are made final, together with updates to tests.
>>  - parenthesized patterns are removed.
>>  - qualified enum constants are supported for case labels.
>> 
>> This change herein also includes removal record patterns in for each loop, which may be split into a separate PR in the future.
>
> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Removing obsolette test, as suggested.

Marked as reviewed by phuchau1989 at github.com (no known OpenJDK username).

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

PR Review: https://git.openjdk.org/jdk/pull/13074#pullrequestreview-1776839680


More information about the core-libs-dev mailing list