CHENT-67 listeners in ChronicleMap should be transient.

This commit is contained in:
Peter Lawrey
2015-07-14 18:26:52 +01:00
parent f5a95b17b9
commit b6426edbd2
4 changed files with 25 additions and 17 deletions
@@ -1271,6 +1271,7 @@ public class ChronicleMapBuilder<K, V> implements Cloneable,
VanillaChronicleMap<K, ?, ?, V, ?, ?> map =
(VanillaChronicleMap<K, ?, ?, V, ?, ?>) m;
map.headerSize = roundUpMapHeaderSize(fis.getChannel().position());
map.initTransients(this);
map.createMappedStoreAndSegments(file);
// This is needed to property initialize key and value serialization builders,
// which are later used in replication