Jon Hall
Committed by Gerrit Code Review

Register Versioned with Kryo to fix ONOS-2169

Change-Id: I964f83161a26749953a7c7ae4bf765c01a5a67a6
...@@ -57,7 +57,7 @@ public interface Serializer { ...@@ -57,7 +57,7 @@ public interface Serializer {
57 KryoNamespace.Builder builder = new KryoNamespace.Builder(); 57 KryoNamespace.Builder builder = new KryoNamespace.Builder();
58 namespaces.forEach(builder::register); 58 namespaces.forEach(builder::register);
59 Lists.newArrayList(classes).forEach(builder::register); 59 Lists.newArrayList(classes).forEach(builder::register);
60 - builder.register(MapEvent.class, MapEvent.Type.class); 60 + builder.register(MapEvent.class, MapEvent.Type.class, Versioned.class);
61 KryoNamespace namespace = builder.build(); 61 KryoNamespace namespace = builder.build();
62 return new Serializer() { 62 return new Serializer() {
63 @Override 63 @Override
......