On Tue, 6 Dec 2022 19:17:44 GMT, Naoto Sato <na...@openjdk.org> wrote:

>> This is to allow Console to be used even when it is not attached to the 
>> platform provided terminal, such as the case when the standard input is 
>> redirected. `System.console()` now returns a Console implementation based on 
>> `jdk.internal.le` terminal by default, or jshell implementation if 
>> available. A corresponding CSR has been drafted.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Further addressing review comments.

Provided separate independent locks in `ProxyingConsole` for now. Later it can 
be re-org'ed as Alan suggested for cleaner implementation/interface separation.

-------------

PR: https://git.openjdk.org/jdk/pull/11421

Reply via email to