On Wed, Apr 25, 2018 at 1:34 PM, Jan Lahoda <jan.lah...@oracle.com> wrote:

>
> IIRC the call to System.console() in jshell/jline that is part of this
> problem is basically a way to call Console.istty() - the returned Console
> is not used. I was considering tweaking jshell to avoid this issue, and I
> think it would be possible, but seemed some other programs might run into
> issues as well, so seemed better to fix in Console.


So the shutdown hook is unneeded both by Emacs users and by JShell users,
strengthening the case for optimizing it away.

Reply via email to