< prev index next >

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

Print this page
rev 50500 : [mq]: JDK-8204663-clean-up-after-JDK-8187631

*** 119,138 **** throwFileNotFoundException(env, path); } } END_PLATFORM_STRING(env, ps); } - void - fileClose(JNIEnv *env, jobject this, jfieldID fid) - { - jobject fileDescriptor = (*env)->GetObjectField(env, (this), (fid)); - if (fileDescriptor == NULL) { - return; - } - fileDescriptorClose(env, fileDescriptor); - } - // Function to close the fd held by this FileDescriptor and set fd to -1. void fileDescriptorClose(JNIEnv *env, jobject this) { FD fd = (*env)->GetIntField(env, this, IO_fd_fdID); --- 119,128 ----
< prev index next >