Java 12.0.1 jshell doesn't work well on Windows 10

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 12.0.1
    • Component/s: tools
    • Environment:

      C:\Users\lukas>"\Program Files\Java\jdk-12.0.1\bin\jshell.exe" -version
      jshell 12.0.1

      C:\Users\lukas>ver
      Microsoft Windows [Version 10.0.17134.706]

    • x86
    • windows_10

      When using jshell from Java 12.0.1 on Windows 10, I cannot easily work with the command history by using the up/down arrows. This is best shown using a screencast of my command prompt.:

      https://i.imgur.com/nu6aa5R.gifv

      After entering the "var i = 1;" command, I'm trying to repeat that command by simply hitting the up arrow key on my machine. It then displays random characters (first "a", then "OA"). Once I delete those characters, I can access the actual commands I executed previously.

            Assignee:
            Jan Lahoda
            Reporter:
            Lukas Eder
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: