JShell bug
David Alayachew
davidalayachew at gmail.com
Sun Jul 14 19:24:33 UTC 2024
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.
Could someone forward this thread and the attachments to the relevant
mailing list? I have copied those same attachments to this email too.
On Sun, Jul 14, 2024 at 3:17 PM David Alayachew <davidalayachew at gmail.com>
wrote:
> Terribly sorry to post this on discuss, but I could not find which mailing
> list supports JShell.
>
> Attached to this email is text that I had in my clipboard.
>
> I started a fresh JShell session, then pasted the text into JShell. It
> immediately threw the attached stacktrace -- an AssertionError.
>
> Here is some relevant info.
>
> david at David2 MINGW64 ~/_WORKSPACE/_PROGRAMMING/_JAVA (main)
> $ jshell --version
> jshell 23-ea
>
> david at David2 MINGW64 ~/_WORKSPACE/_PROGRAMMING/_JAVA (main)
> $ java --version
> openjdk 23-ea 2024-09-17
> OpenJDK Runtime Environment (build 23-ea+31-2337)
> OpenJDK 64-Bit Server VM (build 23-ea+31-2337, mixed mode, sharing)
>
> Could someone please forward this email and its attachments to the correct
> mailing list?
>
> Thank you for your time and help!
> David Alayachew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20240714/101dd339/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text that I copy-pasted
Type: application/octet-stream
Size: 854 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20240714/101dd339/textthatIcopy-pasted-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: the stacktrace that came out
Type: application/octet-stream
Size: 3247 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20240714/101dd339/thestacktracethatcameout-0001.obj>
More information about the discuss
mailing list