test exceptions from actor constructor in hierarchy, see #2336

This has brought to light some interesting effects (aka bugs) both in
the general implementation as well as in previous fixes.
SupervisorHierarchySpec is without TODOs now and GREEN.
This commit is contained in:
Roland 2012-08-07 22:11:40 +02:00
parent b45e0ab237
commit 810d65068e
17 changed files with 167 additions and 78 deletions

View file

@ -107,6 +107,9 @@ private[akka] abstract class Mailbox(val messageQueue: MessageQueue)
@inline
final def shouldProcessMessage: Boolean = (status & shouldNotProcessMask) == 0
@inline
final def suspendCount: Int = status / suspendUnit
@inline
final def isSuspended: Boolean = (status & suspendMask) != 0