-
Bug
-
Resolution: Fixed
-
P3
-
11, 12, 13
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8254619 | 11.0.11-oracle | Jan Lahoda | P3 | Resolved | Fixed | b01 |
JDK-8251008 | 11.0.9 | Jan Lahoda | P3 | Resolved | Fixed | b02 |
In jshell, type:
java.io.File.path
and press tab. This crashes with:
---
jshell> java.io.File.path
pathSeparator pathSeparatorChar
java.io.File.pathSeparator
Exception in thread "main" java.lang.UnsupportedOperationException: Should not get here.
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext$ExpressionSignaturesTask.description(ConsoleIOContext.java:720)
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.complete(ConsoleIOContext.java:406)
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext$1.doComplete(ConsoleIOContext.java:142)
at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.expandOrComplete(LineReaderImpl.java:3875)
at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:585)
at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:404)
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.readLine(ConsoleIOContext.java:201)
at jdk.jshell/jdk.internal.jshell.tool.JShellTool.getInput(JShellTool.java:1238)
at jdk.jshell/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1174)
at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:975)
at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.start(JShellToolBuilder.java:254)
at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.main(JShellToolProvider.java:120)
---
Originally reported here:
https://mail.openjdk.java.net/pipermail/kulla-dev/2019-March/002385.html
java.io.File.path
and press tab. This crashes with:
---
jshell> java.io.File.path
pathSeparator pathSeparatorChar
java.io.File.pathSeparator
Exception in thread "main" java.lang.UnsupportedOperationException: Should not get here.
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext$ExpressionSignaturesTask.description(ConsoleIOContext.java:720)
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.complete(ConsoleIOContext.java:406)
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext$1.doComplete(ConsoleIOContext.java:142)
at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.expandOrComplete(LineReaderImpl.java:3875)
at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:585)
at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:404)
at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.readLine(ConsoleIOContext.java:201)
at jdk.jshell/jdk.internal.jshell.tool.JShellTool.getInput(JShellTool.java:1238)
at jdk.jshell/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1174)
at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:975)
at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.start(JShellToolBuilder.java:254)
at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.main(JShellToolProvider.java:120)
---
Originally reported here:
https://mail.openjdk.java.net/pipermail/kulla-dev/2019-March/002385.html
- backported by
-
JDK-8251008 Crash when completing "java.io.File.path"
- Resolved
-
JDK-8254619 Crash when completing "java.io.File.path"
- Resolved