possible jshell input bug (or feature?)
Robert Field
robert.field at oracle.com
Wed Nov 16 03:40:00 UTC 2016
Thanks Bob.
I do not get this behavior on Fedora KDE / Konsole.
Jan?
-Robert
On 11/15/16 19:33, Yacobellis, Robert wrote:
> In the current early access version of JDK 9 / jshell, when I type something like String s = "xxxxxxxxxxxxxxx ... xxxxxxxxxxxxxx" where there are a lot of x's, at about column 80 the cursor returns to the beginning of the line and typing continues from there, overwriting what I had typed before. If the input line length is going to be limited I would expect that characters beyond the length limit would appear on the next line, not the same line, so that my earlier typing would still be visible.
>
> Admittedly this case will probably not happen very often, but it is certainly possible for someone to type a jshell input line that is longer than 80 characters and expect that it would display properly. The input line above works (String s has the correct contents), but the input display is unexpected.
>
> I've only tried this in a Windows command window (cmd), I don't know if the same thing happens on a Mac or on Linux.
>
> Thanks,
> Bob Yacobellis
More information about the kulla-dev
mailing list