jdk/src/windows/native/sun/nio/ch/SocketChannelImpl.c
changeset 1152 29d6145d1097
parent 2 90ce3da70b43
child 1247 b4c26443dee5
--- a/jdk/src/windows/native/sun/nio/ch/SocketChannelImpl.c	Sun Aug 31 18:32:59 2008 +0100
+++ b/jdk/src/windows/native/sun/nio/ch/SocketChannelImpl.c	Sun Aug 31 18:39:01 2008 +0100
@@ -139,12 +139,3 @@
 
     return 0;
 }
-
-JNIEXPORT void JNICALL
-Java_sun_nio_ch_SocketChannelImpl_shutdown(JNIEnv *env, jclass cl,
-                                           jobject fdo, jint how)
-{
-    if (shutdown(fdval(env, fdo), how) == SOCKET_ERROR) {
-        NET_ThrowNew(env, WSAGetLastError(), "shutdown");
-    }
-}