hector-client/hector — pull request #531 by cluePrints (2012-09-21 14:58:38+00:00)
Title: JaxbSerializer: use only relevant portion of ByteBuffer on deserialization

It was not working properly when a ByteArray supplied to it actually was backed by byte[] array shared with someone other. Serializer took the whole byte[] array, thus failing to deserialize a column.

Test supplied makes sure that the issue won't reproduce with other Serializers.

That's a properly squashed changes from earlier pull request:
https://github.com/hector-client/hector/pull/530