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

JShell: The prompt isn't always printed at the right location after executing a command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Other
    • Icon: P3 P3
    • 9
    • 9
    • tools

      Steps to reproduce:

      - Launch REPL
      - Type System.getProperties().forEach((x, y) -> System.out.println(x + " -> " + y))

      Notice that after the execution of that line, the prompt (->) isn't printed at the end of the printed list. It is printed somewhere interspersed in the list.

            jlahoda Jan Lahoda
            mtrudeau Michel Trudeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: