RFR: 8296012: jshell crashes on mismatched record pattern
Aggelos Biboudis
abimpoudis at openjdk.org
Sun Dec 4 15:30:02 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.
Thanks for the quick fix. However, why this commit triggered this failure? I assume `--enable-preview` is responsible for this. I wonder, no other JShell tests were passing `--enable-preview` before?
-------------
PR: https://git.openjdk.org/jdk/pull/11363
More information about the compiler-dev
mailing list