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:
@@ -133,8 +133,8 @@
|
||||
<compilerArgument>-Xlint:deprecation</compilerArgument>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<testSource>1.8</testSource>
|
||||
<testTarget>1.8</testTarget>
|
||||
<testSource>1.6</testSource>
|
||||
<testTarget>1.6</testTarget>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
@@ -27,7 +27,7 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
DiscoveryCluster discoveryCluster = new DiscoveryCluster();
|
||||
|
||||
ChronicleMap<Integer, CharSequence> map = discoveryCluster.discoverMap(1025, 8086);
|
||||
ChronicleMap<Integer, CharSequence> map = discoveryCluster.discoverMap(1025, 8087);
|
||||
|
||||
Thread.sleep(10000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user