[code-reflection] RFR: Change the model of the default label of switch [v2]

Mourad Abbay mabbay at openjdk.org
Fri Sep 6 15:09:13 UTC 2024


On Fri, 6 Sep 2024 14:51:26 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ReflectMethods.java line 1671:
>> 
>>> 1669: 
>>> 1670:             Body.Builder body = null;
>>> 1671:             Type yieldType = tree.type != null ? adaptBottom(tree.type) : null;
>> 
>> Why the change here?
>
> `typeElementToType(javaType.STRING)` returns `none`

I need to update `primitiveAndBoxTypeMap`

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

PR Review Comment: https://git.openjdk.org/babylon/pull/223#discussion_r1747275034


More information about the babylon-dev mailing list