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

Paul Sandoz psandoz at openjdk.org
Fri Aug 2 19:55:51 UTC 2024


On Mon, 29 Jul 2024 18:55:22 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> Update the lowering of switch expression to throw Match Exception if no label applies.
>
> 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?

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

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


More information about the babylon-dev mailing list