commit | d46280cd53bbad1b652fdd4944363565bbd42b50 | [log] [tgz] |
---|---|---|
author | Jon Hall <jhall@onlab.us> | Wed Jul 01 10:30:59 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Jul 01 17:59:23 2015 +0000 |
tree | 42aa652cdca942c9b7b9cf63546b9b50ad53580f | |
parent | fee286d1c41cfa4389eabf788ef2a09f6bc26f46 [diff] |
Register Versioned with Kryo to fix ONOS-2169 Change-Id: I964f83161a26749953a7c7ae4bf765c01a5a67a6
diff --git a/core/api/src/main/java/org/onosproject/store/service/Serializer.java b/core/api/src/main/java/org/onosproject/store/service/Serializer.java index 0b00a68..a3e2b0c 100644 --- a/core/api/src/main/java/org/onosproject/store/service/Serializer.java +++ b/core/api/src/main/java/org/onosproject/store/service/Serializer.java
@@ -57,7 +57,7 @@ KryoNamespace.Builder builder = new KryoNamespace.Builder(); namespaces.forEach(builder::register); Lists.newArrayList(classes).forEach(builder::register); - builder.register(MapEvent.class, MapEvent.Type.class); + builder.register(MapEvent.class, MapEvent.Type.class, Versioned.class); KryoNamespace namespace = builder.build(); return new Serializer() { @Override