< prev index next >

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

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

@@ -533,20 +533,10 @@
 
 jint handleAppend(FD fd, const void *buf, jint len) {
     return writeInternal(fd, buf, len, JNI_TRUE);
 }
 
-void
-handleClose(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)->GetLongField(env, this, IO_handle_fdID);
< prev index next >