RFR 8158174: jshell tool: leaks threads waiting on StopDetectingInputStream
Jan Lahoda
jan.lahoda at oracle.com
Wed Jun 8 17:00:22 UTC 2016
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