mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
issue reported on http://stackoverflow.com/questions/26219313/strange-npe-from-chronicle-map-toy-code
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package net.openhft.chronicle.map;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Austin.
|
||||
*/
|
||||
public class TestBooleanValues {
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testTestBooleanValues() throws IOException, InterruptedException {
|
||||
ChronicleMap<Integer, Boolean> map = ChronicleMapBuilder.of(Integer.class, Boolean.class).create();
|
||||
map.put(7, true);
|
||||
Boolean currentValue = map.get(7); // IllegalStateException here
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user