Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8298804 | 21 | Jan Lahoda | P3 | Resolved | Fixed | b03 |
Now that Console defaults to jline implementation and `System.console()` returns it, jshell needs to either disable `jline` implementation by specifying `-Djdk.console=java.base` in the launcher command argument, or implement its own JdkConsole. Since it is past RDP1 for JDK20, the former solution is doable in JDK20.
- backported by
-
JDK-8298804 System.console().readLine() hangs in jshell
- Resolved
- relates to
-
JDK-8296454 System.console() shouldn't return null in jshell
- Resolved
-
JDK-8295803 Console should be usable in jshell and other environments
- Resolved