I have tried JShell on Windows 10.
It works expectedly on JDK 11 and <=12-ea+23.
But >=12-ea+24, some inputs are lacked especially when paste.
e.g. If "import java.time.format.*" pastes to JShell, sometimes It could be
below.
-> mport java.time.format.*
-> iport java.time.format.*
-> iort java.time.format.*
And, if I input Japanese characters like kanji, they are garbled.
e.g. "var kanjiFormat = DateTimeFormatter.ofPattern("GGGGy���M���d���",
Locale.JAPAN)"
-> var kanjiFormat = DateTimeFormatter.ofPattern("GGGGy���NM������d���",
Locale.JAPAN)
e.g. "System.out.println("������")"
-> System.out.println("������������")
���?������
I think this unstable behavior comes from the JLine library.