Fixes from review. See #2385

This commit is contained in:
Björn Antonsson 2012-08-16 13:14:16 +02:00
parent 1aa2319023
commit 57ac1da6d1
5 changed files with 27 additions and 31 deletions

View file

@ -262,7 +262,7 @@ class CallingThreadDispatcher(
runQueue(mbox, queue, intex)
} else {
if (intex ne null) {
Thread.interrupted // clear flag
Thread.interrupted // clear interrupted flag before throwing according to java convention
throw intex
}
}