Making sure that akka-actor and akka-actor-tests compile and tests are green
This commit is contained in:
parent
7f429ed63e
commit
d08489c17b
3 changed files with 11 additions and 10 deletions
|
|
@ -145,7 +145,7 @@ class Serialization(val system: ExtendedActorSystem) extends Extension {
|
|||
*/
|
||||
private[akka] val bindings: Seq[ClassSerializer] = {
|
||||
val configuredBindings = for ((k: String, v: String) ← settings.SerializationBindings if v != "none") yield {
|
||||
val c = system.dynamicAccess.getClassFor(k).fold(throw _, identity[Class[_]])
|
||||
val c = system.dynamicAccess.getClassFor[Any](k).fold(throw _, identity[Class[_]])
|
||||
(c, serializers(v))
|
||||
}
|
||||
sort(configuredBindings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue