RFR: 8296012: jshell crashes on mismatched record pattern

Julian Waters jwaters at openjdk.org
Sun Dec 4 15:05:17 UTC 2022


On Fri, 25 Nov 2022 10:55:03 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> This bug prevents a crash in Flow while evaluating a switch expression in JShell. The error is successfully reported in Attr however entering an erroneous symbols prevents the crash.

Nevermind, the cause was simpler than I expected, -XX:-VMContinuations is not on by default for every platform. I've just created a quick fix for this

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

PR: https://git.openjdk.org/jdk/pull/11363


More information about the compiler-dev mailing list