Remove additional-serialization-bindings, #26684

This should be safe for a rolling update between Akka 2.5.x and 2.6.0
also if additional-bindings were disabled in 2.5.x because:
* if 2.6.0 sends one of those the serializer (akka-misc) exists in 2.5.x
  so deserialization will work via the serializerId
* if 2.5.x sends one of those with java serialization it can be
  deserialized in 2.6.0 since the java serializer exists
  (disabling java serialization by default is another ticket)

* historical problems with serialization of remote Deploy messages
  in Akka 2.4.x should be gone now
This commit is contained in:
Patrik Nordwall 2019-07-03 13:00:47 +02:00
parent 2db03309ce
commit 3f4179c316
12 changed files with 48 additions and 236 deletions

View file

@ -14,7 +14,6 @@ class MessageSerializerSpec extends AkkaSpec("""
akka.actor.provider = cluster
akka.actor.serialize-messages = off
akka.actor.allow-java-serialization = off
akka.actor.enable-additional-serialization-bindings = on
""") {
val serializer = new MessageSerializer(system.asInstanceOf[ExtendedActorSystem])