[hornetq-commits] JBoss hornetq SVN: r8745 - in trunk: native/src and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Jan 6 09:51:39 EST 2010


Author: clebert.suconic at jboss.com
Date: 2010-01-06 09:51:39 -0500 (Wed, 06 Jan 2010)
New Revision: 8745

Modified:
   trunk/native/bin/libHornetQAIO64.so
   trunk/native/src/Version.h
   trunk/src/main/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java
Log:
Recompiling native module after HornetQException move. (64 bits)

Modified: trunk/native/bin/libHornetQAIO64.so
===================================================================
(Binary files differ)

Modified: trunk/native/src/Version.h
===================================================================
--- trunk/native/src/Version.h	2010-01-06 13:37:55 UTC (rev 8744)
+++ trunk/native/src/Version.h	2010-01-06 14:51:39 UTC (rev 8745)
@@ -1,5 +1,8 @@
 
 #ifndef _VERSION_NATIVE_AIO
-#define _VERSION_NATIVE_AIO 27
+
+// This definition needs to match org.hornetq.core.asyncio.impl.AsynchronousFileImpl.EXPECTED_NATIVE_VERSION
+// Or else the native module won't be loaded because of version mismatches
+#define _VERSION_NATIVE_AIO 28
 #endif
 

Modified: trunk/src/main/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java	2010-01-06 13:37:55 UTC (rev 8744)
+++ trunk/src/main/org/hornetq/core/asyncio/impl/AsynchronousFileImpl.java	2010-01-06 14:51:39 UTC (rev 8745)
@@ -49,7 +49,9 @@
 
    private static boolean loaded = false;
 
-   private static int EXPECTED_NATIVE_VERSION = 27;
+   /** This definition needs to match Version.h on the native sources.
+       Or else the native module won't be loaded because of version mismatches */
+   private static int EXPECTED_NATIVE_VERSION = 28;
 
    /** Used to determine the next writing sequence */
    private final AtomicLong nextWritingSequence = new AtomicLong(0);



More information about the hornetq-commits mailing list