Fix compilation issues

This commit is contained in:
leventov
2015-06-15 22:00:06 +03:00
parent 413f016898
commit 0c73a072eb
7 changed files with 10 additions and 58 deletions
@@ -1360,9 +1360,10 @@ public final class ChronicleMapBuilder<K, V> implements
try {
// pushingToMapEventListener();
VanillaChronicleMap<K, ?, ?, V, ?, ?, ?> map = newMap(singleHashReplication, channel);
if(OS.warnOnWindows(map.sizeInBytes())){
throw new IllegalStateException("Windows cannot support this configuration");
}
// TODO this method had been moved
// if(OS.warnOnWindows(map.sizeInBytes())){
// throw new IllegalStateException("Windows cannot support this configuration");
// }
BytesStore bytesStore = new DirectStore(JDKObjectSerializer.INSTANCE,
map.sizeInBytes(), true);
map.createMappedStoreAndSegments(bytesStore);