RFR: 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview) [v47]

Aggelos Biboudis abimpoudis at openjdk.org
Wed Jan 24 23:25:03 UTC 2024


On Wed, 24 Jan 2024 21:47:19 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Introduce ExactnessConversionsSupportTest
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java line 5045:
> 
>> 5043:         }
>> 5044: 
>> 5045:         if (target.isPrimitive()) {
> 
> nit: maybe now a ternary expression can be used

Done!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15638#discussion_r1465656376


More information about the compiler-dev mailing list