[code-reflection] RFR: Test Switch Expression lowering when case is constant

Mourad Abbay mabbay at openjdk.org
Thu Jul 4 08:48:58 UTC 2024


On Thu, 4 Jul 2024 08:42:34 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

> Test Switch Expression lowering when case is constant.

src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ReflectMethods.java line 658:

> 656:                 pt = target;
> 657:                 scan(tree);
> 658:                 // there are cases where tree type is null

@mcimadamore what do you think about this ?

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

PR Review Comment: https://git.openjdk.org/babylon/pull/169#discussion_r1665359662


More information about the babylon-dev mailing list