RFR: 8238173: jshell - switch statement with a single default not return cause syntax error

Vicente Romero vromero at openjdk.java.net
Mon Apr 12 20:52:47 UTC 2021


On Wed, 24 Mar 2021 11:43:19 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Improving disambiguation between switch expressions and switch statements: switches that do not yield a value from any arm should not be considered switch expressions; switches in source levels that don't support switch expressions should always be considered switch statements.

looks good

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

Marked as reviewed by vromero (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3173


More information about the kulla-dev mailing list