HCOLL-309 added code to better reject third party connections which turn out not to be chronicle.

This commit is contained in:
Rob Austin
2015-02-16 11:06:35 +00:00
parent 517e9e8059
commit 7c09d1dfaf
3 changed files with 49 additions and 2 deletions
@@ -309,7 +309,7 @@ final class SerializationBuilder<E> implements Cloneable, Serializable {
}
// set max size once more, because current maxSize could be x64 or x2 larger than needed
maxSize(constantSize);
sizeMarshaller(SizeMarshallers.constant(constantSize));
sizeMarshaller(net.openhft.chronicle.hash.serialization.SizeMarshallers.constant(constantSize));
return this;
}