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

Jan Lahoda jlahoda at openjdk.org
Fri Apr 21 16:25:08 UTC 2023


On Fri, 21 Apr 2023 16:08:41 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Replacing use of mutable callsite with a mutable state.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java line 971:
> 
>> 969:                                             it.remove();
>> 970:                                             reduces = true;
>> 971:                                             continue ;
> 
> This continue seems redundant

Thanks, fixed:
https://github.com/openjdk/jdk/pull/13074/commits/8b1cfba6e4603d82836d889273855185165acd29

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13074#discussion_r1173955311


More information about the core-libs-dev mailing list