diff --git a/src/main/java/net/openhft/chronicle/hash/locks/InterProcessLock.java b/src/main/java/net/openhft/chronicle/hash/locks/InterProcessLock.java index e4f4284af..459d8fce8 100644 --- a/src/main/java/net/openhft/chronicle/hash/locks/InterProcessLock.java +++ b/src/main/java/net/openhft/chronicle/hash/locks/InterProcessLock.java @@ -46,5 +46,8 @@ public interface InterProcessLock extends Lock { */ @NotNull @Override - Condition newCondition(); + default Condition newCondition() { + throw new UnsupportedOperationException( + "Conditions are not supported by inter-process locks"); + } }