Closed GoogleCodeExporter closed 8 years ago
Adding suggested patch for fix
Original comment by aetzi...@outbrain.com
on 22 Apr 2014 at 8:02
Attachments:
I'd add that there's a bogus handling of interruptions there as well.
You need to restore the thread interrupted state, or you disrespect
interruptions.
private void waitForAllThreads(Thread[] threads) {
try {
for (Thread t:threads){
t.join(Long.MAX_VALUE);
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(e);
}
}
Original comment by harel.e...@gmail.com
on 22 Apr 2014 at 8:33
Thanks for reporting the bug. I have fixed the bug as you suggested.
Original comment by mor...@nobel-joergensen.com
on 22 Apr 2014 at 8:56
Original issue reported on code.google.com by
aetzi...@outbrain.com
on 22 Apr 2014 at 7:57