JDK 20 |
---|
20 b27Fixed |
Blocks :
|
|
Blocks :
|
|
CSR :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8298325 :
|
Console instance is only available when the JVM is attached to an OS provided interactive console. Otherwise `System.console()` returns `null`. This is not very useful for applications such as `jshell` in which the debugee process is not attached to a console. By providing a plug-in mechanism, custom implementations of Console can be returned with `System.console()` even when it may not be attached to the underlying platform's TTY. This also allows replacing the default Console implementation with functionality-wise better `jline`.
|