RFR 8158174: jshell tool: leaks threads waiting on StopDetectingInputStream

Robert Field robert.field at oracle.com
Wed Jun 8 17:26:39 UTC 2016


Thumbs up.

Welcome back!

-Robert


> On Jun 8, 2016, at 10:00 AM, Jan Lahoda <jan.lahoda at oracle.com> wrote:
> 
> Hello,
> 
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8158174
> 
> Webrev:
> http://cr.openjdk.java.net/~jlahoda/8158174/webrev/index.html
> 
> The fix is to stop the StopDetectingInputStream when closing the ConsoleIOContext. I chose "shutdown" for the name of the method, mostly to be consistent with ConsoleReader.shutdown().
> 
> Any feedback is welcome!
> 
> Thanks,
>    Jan



More information about the kulla-dev mailing list