test exceptions during recreation, see #2336

fix two bugs:
- resumeChildren should only check the perpetrator if
  inResponseToFailure is true
- handleInvokeFailure must not suspend the survivors in case of an
  exception in postRestart
This commit is contained in:
Roland 2012-08-02 16:59:11 +02:00
parent a19df590a7
commit 2c9ddeb629
5 changed files with 134 additions and 89 deletions

View file

@ -271,7 +271,7 @@ private[akka] abstract class Mailbox(val messageQueue: MessageQueue)
}
}
// if something happened while processing, fail this actor (most probable: exception in supervisorStrategy)
if (failure ne null) actor.handleInvokeFailure(failure, failure.getMessage)
if (failure ne null) actor.handleInvokeFailure(Nil, failure, failure.getMessage)
}
/**