Config to exclude class prefix from serialize-messages, #24273 (#27517)

* Config to exclude class prefix from serialize-messages, #24273

* Adding no-serialization-verification-needed-class-prefix, with "akka." included
  by default
* This is important now when we disable Java serialization by default.
  There will be many complaints about Akka internal classes that are not marked with
  NoSerializationVerificationNeeded, and we can't really sprinkle that everywhere.
* Not removing NoSerializationVerificationNeeded usage in Akka classes because that
  may break bin compat, even though it's needed any more.

* fix DisabledJavaSerializerWarningSpec
This commit is contained in:
Patrik Nordwall 2019-09-26 22:51:12 +02:00 committed by GitHub
parent 4f9a4b5403
commit a7c43cf573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
100 changed files with 105 additions and 235 deletions

View file

@ -116,8 +116,6 @@ private[cluster] object StressMultiJvmSpec extends MultiNodeConfig {
exercise-actors = on
}
akka.actor.serialize-messages = off
akka.actor.serialize-creators = off
akka.actor.provider = cluster
akka.cluster {
failure-detector.acceptable-heartbeat-pause = 10s

View file

@ -50,8 +50,6 @@ object ClusterRoundRobinMultiJvmSpec extends MultiNodeConfig {
commonConfig(debugConfig(on = false).withFallback(ConfigFactory.parseString(s"""
akka.actor {
serialize-creators = off
serialize-messages = off
serialization-bindings {
"akka.cluster.routing.ClusterRoundRobinMultiJvmSpec$$Reply" = java-test
}