<div dir="ltr"><div style="font-family:monospace" class="gmail_default">Also, it seems like the closing curly brace on the switch expression is the real problem. I pasted everything up to and including the default line in one shot, then I pasted the trailing empty line, then I pasted the curly brace, and then jshell crashed with the same error.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">Could someone forward this thread and the attachments to the relevant mailing list? I have copied those same attachments to this email too.<br></div><div class="gmail_default" style="font-family:monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 14, 2024 at 3:17 PM David Alayachew <<a href="mailto:davidalayachew@gmail.com" target="_blank">davidalayachew@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:monospace">Terribly sorry to post this on discuss, but I could not find which mailing list supports JShell.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Attached to this email is text that I had in my clipboard.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">I started a fresh JShell session, then pasted the text into JShell. It immediately threw the attached stacktrace -- an AssertionError.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Here is some relevant info.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">david@David2 MINGW64 ~/_WORKSPACE/_PROGRAMMING/_JAVA (main)<br>$ jshell --version<br>jshell 23-ea<br><br>david@David2 MINGW64 ~/_WORKSPACE/_PROGRAMMING/_JAVA (main)<br>$ java --version<br>openjdk 23-ea 2024-09-17<br>OpenJDK Runtime Environment (build 23-ea+31-2337)<br>OpenJDK 64-Bit Server VM (build 23-ea+31-2337, mixed mode, sharing)<br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Could someone please forward this email and its attachments to the correct mailing list?</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Thank you for your time and help!</div><div class="gmail_default" style="font-family:monospace">David Alayachew<br></div></div>
</blockquote></div>