mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-152 - udpated the java version to 1.7 and added a random file name to -> File file = new File(TMP + "/chm-myBondPortfolioCHM-" + System.nanoTime());
This commit is contained in:
@@ -21,7 +21,6 @@ import net.openhft.chronicle.map.ChronicleMap;
|
||||
import net.openhft.chronicle.map.ChronicleMapBuilder;
|
||||
import net.openhft.lang.io.serialization.impl.NewInstanceObjectFactory;
|
||||
import net.openhft.lang.model.DataValueClasses;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
@@ -51,7 +50,6 @@ public class OpenJDKAndHashMapExamplesTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void bondExample() throws IOException, InterruptedException {
|
||||
|
||||
Class<BondVOInterface> bondVODirectClass = directClassFor(BondVOInterface.class);
|
||||
@@ -85,7 +83,7 @@ public class OpenJDKAndHashMapExamplesTest {
|
||||
.of(String.class, bondVODirectClass)
|
||||
.valueFactory(bondVODirectObjectFactory)
|
||||
.entrySize(320)
|
||||
.create(new File(TMP + "/chm-myBondPortfolioCHM"));
|
||||
.create(file);
|
||||
|
||||
// ZERO Copy but creates a new off heap reference each time
|
||||
|
||||
|
||||
Reference in New Issue
Block a user