< prev index next >

src/java.base/windows/native/libnet/net_util_md.h

Print this page
rev 14618 : 8158023: SocketExceptions contain too little information sometimes

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -294,13 +294,10 @@
 
 JNIEXPORT int JNICALL NET_Timeout(int fd, long timeout);
 
 int NET_Socket(int domain, int type, int protocol);
 
-void NET_ThrowByNameWithLastError(JNIEnv *env, const char *name,
-         const char *defaultDetail);
-
 void NET_ThrowSocketException(JNIEnv *env, char* msg);
 
 /*
  * differs from NET_Timeout() as follows:
  *
< prev index next >