Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259292

JShell missing keyboard input

    Details

    • Subcomponent:
    • Introduced In Version:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10, Oracle Java SE 11.0.9

      A DESCRIPTION OF THE PROBLEM :
      After evaluating a line in JShell, subsequent input lines will miss a character, requiring the key to be pressed twice. This did not happen with JDK 11.0.8, so appears to be a regression (possibly due to the update to the JLine library.)

      REGRESSION : Last worked in version 11

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Start a Command Prompt (cmd.exe)
      2. Launch JShell
      3. Evaluate the line: int i = 1
      4. Slowly type another line like: i + 100


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The second line should appear as typed, only requiring each key to be pressed once.
      ACTUAL -
      One of the keys will have to be pressed twice in order for the character to appear. Possibly the first character, possibly another character in the line. This will continue to happen on subsequent lines.

      CUSTOMER SUBMITTED WORKAROUND :
      Have not found a workaround yet.

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: