< prev index next >
src/java.base/unix/native/libnio/ch/FileChannelImpl.c
Print this page
*** 48,58 ****
#define lseek64 lseek
#define mmap64 mmap
#endif
! static jfieldID chan_fd; /* jobject 'fd' in sun.io.FileChannelImpl */
JNIEXPORT jlong JNICALL
Java_sun_nio_ch_FileChannelImpl_initIDs(JNIEnv *env, jclass clazz)
{
jlong pageSize = sysconf(_SC_PAGESIZE);
--- 48,58 ----
#define lseek64 lseek
#define mmap64 mmap
#endif
! static jfieldID chan_fd; /* jobject 'fd' in sun.nio.ch.FileChannelImpl */
JNIEXPORT jlong JNICALL
Java_sun_nio_ch_FileChannelImpl_initIDs(JNIEnv *env, jclass clazz)
{
jlong pageSize = sysconf(_SC_PAGESIZE);
< prev index next >