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

jshell tool: crash: shift-tab twice on command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Verification:
      Verified

      Description

      jshell> /list
      null
      <press shift-tab again to see detailed help>

      jshell> /listException in thread "main" java.lang.NullPointerException
              at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.documentation(ConsoleIOContext.java:308)
              at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.lambda$new$4(ConsoleIOContext.java:169)
              at jdk.internal.le/jdk.internal.jline.console.ConsoleReader.readLine(ConsoleReader.java:2529)
              at jdk.internal.le/jdk.internal.jline.console.ConsoleReader.readLine(ConsoleReader.java:2278)
              at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.readLine(ConsoleIOContext.java:196)
              at jdk.jshell/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1120)
              at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:909)
              at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.run(JShellToolBuilder.java:239)
              at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.main(JShellToolProvider.java:119)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jlahoda Jan Lahoda
                Reporter:
                rfield Robert Field
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: