Thread hangs reading from process output streams, even though process has terminated. (possible JDK bug?)
Bruno Medeiros
bruno.do.medeiros at gmail.com
Thu May 29 11:52:09 UTC 2014
Any update on this? Has it been placed in the JVM bug database and/or have
people tried to replicated it? (again note, it only appears to happen on
JVM 7)
On Tue, May 6, 2014 at 9:20 PM, Bruno Medeiros
<bruno.do.medeiros at gmail.com>wrote:
> After much chopping, I have finally narrowed it down to a single source
> file, and no external dependencies (other than starting Windows' cmd.exe
> process) :
>
> https://github.com/bruno-medeiros/Scratchpad/blob/jvm-processio-issue/jvm_process_bug/src/JVMProcessBug.java
>
> In this final form, I am now able to replicated the bug in my machine on
> many different runs of the program even beyond the first one after booting.
> But it doesn't occur every time, only about two thirds the time.
> Tried running it again with JVM 8 several times but never got it to
> reproduce there. Maybe it really isn't present in JVM 8, only 7. Hopefully
> this should be enough for JVM developers to replicate it.
>
>
> --
> Bruno Medeiros
> https://twitter.com/brunodomedeiros
>
--
Bruno Medeiros
https://twitter.com/brunodomedeiros
More information about the core-libs-dev
mailing list