RFR: 8296012: jshell crashes on mismatched record pattern

Aggelos Biboudis abimpoudis at openjdk.org
Fri Nov 25 11:37:01 UTC 2022


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.

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

Commit messages:
 - 8296012: jshell crashes on mismatched record pattern

Changes: https://git.openjdk.org/jdk/pull/11363/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11363&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8296012
  Stats: 51 lines in 2 files changed: 50 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11363.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11363/head:pull/11363

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


More information about the compiler-dev mailing list