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

jshell tool: crash: shift-tab twice on command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • tools
    • 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

              jlahoda Jan Lahoda
              rfield Robert Field (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: