[code-reflection] RFR: 8337156: Lowering of switch expressions that throw on no matching [v2]

Mourad Abbay mabbay at openjdk.org
Sat Aug 3 00:16:40 UTC 2024


On Fri, 2 Aug 2024 19:52:45 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>> 
>>  - Merge branch 'code-reflection' into 8337156
>>  - Update the lowering of switch expression to throw Match Exception if no label applies
>
> test/jdk/java/lang/reflect/code/TestSwitchExpressionOp2.java line 59:
> 
>> 57:     }
>> 58: 
>> 59:     private static void writeModel(CoreOp.FuncOp f, OutputStream os, OpWriter.Option... options) {
> 
> Why do you need to print out the model without location?

I just wanted to look at the code model without the extra noise (e.g. location info)

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

PR Review Comment: https://git.openjdk.org/babylon/pull/195#discussion_r1702414974


More information about the babylon-dev mailing list