diff --git a/pom.xml b/pom.xml index 7524ce7cd..fa0f3426d 100755 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ net.openhft chronicle-bom pom - 1.7.11-SNAPSHOT + 1.8.11-SNAPSHOT import diff --git a/src/main/java/net/openhft/chronicle/map/impl/stage/data/ZeroRandomDataInput.java b/src/main/java/net/openhft/chronicle/map/impl/stage/data/ZeroRandomDataInput.java index 20823d607..011693fb6 100644 --- a/src/main/java/net/openhft/chronicle/map/impl/stage/data/ZeroRandomDataInput.java +++ b/src/main/java/net/openhft/chronicle/map/impl/stage/data/ZeroRandomDataInput.java @@ -17,9 +17,12 @@ package net.openhft.chronicle.map.impl.stage.data; import net.openhft.chronicle.bytes.Bytes; +import net.openhft.chronicle.bytes.IORuntimeException; import net.openhft.chronicle.bytes.RandomDataInput; import net.openhft.chronicle.core.OS; +import java.nio.BufferOverflowException; + public enum ZeroRandomDataInput implements RandomDataInput { INSTANCE; @@ -83,6 +86,18 @@ public enum ZeroRandomDataInput implements RandomDataInput { throw new UnsupportedOperationException(); } + @Override + public boolean compareAndSwapInt(long offset, int expected, int value) + throws BufferOverflowException, IllegalArgumentException, IORuntimeException { + throw new UnsupportedOperationException(); + } + + @Override + public boolean compareAndSwapLong(long offset, long expected, long value) + throws BufferOverflowException, IllegalArgumentException, IORuntimeException { + throw new UnsupportedOperationException(); + } + @Override public void reserve() throws IllegalStateException { }