You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2022/07/11 22:20:55 UTC

[activemq-artemis-native] branch main updated: Increasing the Native version to a higher number in case we ever make other 1.x releases

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-native.git


The following commit(s) were added to refs/heads/main by this push:
     new 4316acb  Increasing the Native version to a higher number in case we ever make other 1.x releases
4316acb is described below

commit 4316acb3e93c7b7c7cd749da47af1870e890784b
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Mon Jul 11 18:20:32 2022 -0400

    Increasing the Native version to a higher number in case we ever make other 1.x releases
---
 src/main/c/org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.h   | 2 +-
 .../java/org/apache/activemq/artemis/nativo/jlibaio/LibaioContext.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/c/org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.h b/src/main/c/org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.h
index e42c126..bd434fa 100644
--- a/src/main/c/org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.h
+++ b/src/main/c/org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.h
@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 #undef org_apache_activemq_artemis_nativo_jlibaio_LibaioContext_EXPECTED_NATIVE_VERSION
-#define org_apache_activemq_artemis_nativo_jlibaio_LibaioContext_EXPECTED_NATIVE_VERSION 11L
+#define org_apache_activemq_artemis_nativo_jlibaio_LibaioContext_EXPECTED_NATIVE_VERSION 200L
 /*
  * Class:     org_apache_activemq_artemis_nativo_jlibaio_LibaioContext
  * Method:    shutdownHook
diff --git a/src/main/java/org/apache/activemq/artemis/nativo/jlibaio/LibaioContext.java b/src/main/java/org/apache/activemq/artemis/nativo/jlibaio/LibaioContext.java
index 3111437..2e6d6fe 100644
--- a/src/main/java/org/apache/activemq/artemis/nativo/jlibaio/LibaioContext.java
+++ b/src/main/java/org/apache/activemq/artemis/nativo/jlibaio/LibaioContext.java
@@ -55,7 +55,7 @@ public class LibaioContext<Callback extends SubmitInfo> implements Closeable {
    /**
     * The Native layer will look at this version.
     */
-   private static final int EXPECTED_NATIVE_VERSION = 11;
+   private static final int EXPECTED_NATIVE_VERSION = 200;
 
    private static boolean loaded = false;