[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation errors in native/jni/java-nio/java_nio_FileChannelImpl.c
From: |
Stephen Crawley |
Subject: |
Compilation errors in native/jni/java-nio/java_nio_FileChannelImpl.c |
Date: |
Wed, 20 Aug 2003 01:10:23 +1000 |
Hi Torsten,
Your last changes to java_nio_FileChannelImpl.c have introduced a bunch
of compilation errors. The following patch corrects them.
Have you any idea how/why this happened?
-- Steve
diff -p -r1.5 java_nio_FileChannelImpl.c
*** native/jni/java-nio/java_nio_FileChannelImpl.c 19 Aug 2003 09:03:55
-0000 1.5
--- native/jni/java-nio/java_nio_FileChannelImpl.c 19 Aug 2003 14:56:40
-0000
*************** exception statement from your version. *
*** 41,46 ****
--- 41,48 ----
#include <jni.h>
#include <jcl.h>
+ #include <target_native_math_int.h>
+
#include "java_nio_channels_FileChannelImpl.h"
#define IO_EXCEPTION "java/io/IOException"
*************** JNIEXPORT void JNICALL
*** 84,97 ****
Java_java_nio_channels_FileChannelImpl_nio_1unmmap_1file (JNIEnv *env, jclass
clazz, jobject map_address, jint size)
{
JCL_ThrowException (env, IO_EXCEPTION,
"java.nio.FileChannelImpl.nio_unmmap_file(): not implemented");
! return 0;
}
JNIEXPORT void JNICALL
Java_java_nio_channels_FileChannelImpl_nio_1msync (JNIEnv *env, jclass clazz,
jobject map_address, jint length)
{
JCL_ThrowException (env, IO_EXCEPTION,
"java.nio.FileChannelImpl.nio_msync(): not implemented");
! return 0;
}
JNIEXPORT jint JNICALL
--- 86,99 ----
Java_java_nio_channels_FileChannelImpl_nio_1unmmap_1file (JNIEnv *env, jclass
clazz, jobject map_address, jint size)
{
JCL_ThrowException (env, IO_EXCEPTION,
"java.nio.FileChannelImpl.nio_unmmap_file(): not implemented");
! return;
}
JNIEXPORT void JNICALL
Java_java_nio_channels_FileChannelImpl_nio_1msync (JNIEnv *env, jclass clazz,
jobject map_address, jint length)
{
JCL_ThrowException (env, IO_EXCEPTION,
"java.nio.FileChannelImpl.nio_msync(): not implemented");
! return;
}
JNIEXPORT jint JNICALL
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compilation errors in native/jni/java-nio/java_nio_FileChannelImpl.c,
Stephen Crawley <=