< prev index next >

src/java.base/windows/native/libjava/io_util_md.c

Print this page

        

*** 211,222 **** JNU_ThrowOutOfMemoryError(env, "native memory allocation failed"); } return pathbuf; } ! JNIEXPORT FD JNICALL ! winFileHandleOpen(JNIEnv *env, jstring path, int flags) { const DWORD access = (flags & O_WRONLY) ? GENERIC_WRITE : (flags & O_RDWR) ? (GENERIC_READ | GENERIC_WRITE) : GENERIC_READ; --- 211,221 ---- JNU_ThrowOutOfMemoryError(env, "native memory allocation failed"); } return pathbuf; } ! FD winFileHandleOpen(JNIEnv *env, jstring path, int flags) { const DWORD access = (flags & O_WRONLY) ? GENERIC_WRITE : (flags & O_RDWR) ? (GENERIC_READ | GENERIC_WRITE) : GENERIC_READ;
< prev index next >