mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-134 ( release draft cut of the code so that I can test it across my network ) and commented out java 8 code in test so we can use java 7
This commit is contained in:
@@ -412,7 +412,8 @@ class BytesExternalizableImpl implements BytesExternalizable {
|
||||
Bytes bytes = allNodes.activeIdentifierBytes();
|
||||
//bytes.position(0);
|
||||
|
||||
toString(allNodes.activeIdentifierBitSet(), "writing");
|
||||
if (LOG.isDebugEnabled())
|
||||
toString(allNodes.activeIdentifierBitSet(), "writing");
|
||||
|
||||
// we will store the size of the bitset
|
||||
destination.writeUnsignedShort((int) bytes.remaining());
|
||||
@@ -647,7 +648,7 @@ class BytesExternalizableImpl implements BytesExternalizable {
|
||||
|
||||
long size = BOOTSTRAP_BYTES.limit();
|
||||
|
||||
if (size < source.remaining())
|
||||
if (size > source.remaining())
|
||||
return null;
|
||||
|
||||
for (int i = 0; i < size; i++) {
|
||||
|
||||
Reference in New Issue
Block a user