diff --git a/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/LibaioFile.java b/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/LibaioFile.java index b8134b9a18..92a6733c6c 100644 --- a/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/LibaioFile.java +++ b/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/LibaioFile.java @@ -48,6 +48,7 @@ public final class LibaioFile implements AutoClosea return LibaioContext.lock(fd); } + @Override public void close() throws IOException { open = false; LibaioContext.close(fd); diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java index 2a8bacffac..058b93801e 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java @@ -2367,6 +2367,7 @@ public class ActiveMQServerImpl implements ActiveMQServer { this.server = server; } + @Override public void run() { try { URL url = server.getConfiguration().getConfigurationUrl();