You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2007/01/31 09:27:07 UTC

svn commit: r501763 - /tomcat/connectors/trunk/jk/native/common/jk_jni_worker.c

Author: mturk
Date: Wed Jan 31 00:27:06 2007
New Revision: 501763

URL: http://svn.apache.org/viewvc?view=rev&rev=501763
Log:
JNI_VERSION_1_6 if defined is missing the JDK1_1InitArgs.
Make sure it at least compiles by ifdefing the code.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_jni_worker.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_jni_worker.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_jni_worker.c?view=diff&rev=501763&r1=501762&r2=501763
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_jni_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_jni_worker.c Wed Jan 31 00:27:06 2007
@@ -28,6 +28,8 @@
 
 #include <jni.h>
 
+#if !defined(JNI_VERSION_1_6)
+
 #include "jk_pool.h"
 #include "jk_jni_worker.h"
 #include "jk_util.h"
@@ -1236,3 +1238,4 @@
     }
     JK_TRACE_EXIT(l);
 }
+#endif /* JNI_VERSION_1_6 */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org