Merge branch 'master' into wip-1141-config-patriknw

Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorSystem.scala
This commit is contained in:
Patrik Nordwall 2011-11-19 09:18:57 +01:00
commit a9217cec7b
44 changed files with 360 additions and 389 deletions

View file

@ -69,7 +69,7 @@ final case class TaskInvocation(eventStream: EventStream, function: () ⇒ Unit,
try {
function()
} catch {
case e eventStream.publish(Error(e, this, e.getMessage))
case e eventStream.publish(Error(e, "TaskInvocation", e.getMessage))
} finally {
cleanup()
}
@ -236,10 +236,8 @@ abstract class MessageDispatcher(val prerequisites: DispatcherPrerequisites) ext
*/
def resume(actor: ActorCell): Unit = {
val mbox = actor.mailbox
if (mbox.dispatcher eq this) {
mbox.becomeOpen()
if ((mbox.dispatcher eq this) && mbox.becomeOpen())
registerForExecution(mbox, false, false)
}
}
/**