Merge branch 'master' of git@github.com:jboner/akka
This commit is contained in:
commit
e4a29cbc0e
29 changed files with 246 additions and 105 deletions
|
|
@ -202,7 +202,6 @@ object ActorSerialization {
|
|||
lifeCycle,
|
||||
supervisor,
|
||||
hotswap,
|
||||
classLoader, // TODO: should we fall back to getClass.getClassLoader?
|
||||
factory)
|
||||
|
||||
val messages = protocol.getMessagesList.toArray.toList.asInstanceOf[List[RemoteRequestProtocol]]
|
||||
|
|
@ -341,7 +340,7 @@ object TypedActorSerialization {
|
|||
proxy: AnyRef, format: Format[T]): SerializedTypedActorRefProtocol = {
|
||||
|
||||
val init = AspectInitRegistry.initFor(proxy)
|
||||
if (init == null) throw new IllegalArgumentException("Proxy for typed actor could not be found in AspectInitRegistry.")
|
||||
if (init eq null) throw new IllegalArgumentException("Proxy for typed actor could not be found in AspectInitRegistry.")
|
||||
|
||||
SerializedTypedActorRefProtocol.newBuilder
|
||||
.setActorRef(ActorSerialization.toSerializedActorRefProtocol(init.actorRef, format))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue