mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-14 22:55:31 +08:00
c3e0633cc3
* include/posix.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_platform_close_on_exec): Prefixed system function with "::". (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * include/win32.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * java/net/natNetworkInterface.cc: Include platform.h, removed inclusion of socket.h (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and ::close() by _Jv_close(). * java/net/natPlainDatagramSocketImpl.cc: Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind, added some new lines to make code more readable. (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). * java/net/natPlainSocketImpl.cc: Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept, removed include of socket.h, removed some windows defines (now in include/win32.h). (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). (write): Replaced ::read by _Jv_write(). (read): Replaced ::read by _Jv_read(). From-SVN: r59338 |
||
---|---|---|
.. | ||
Authenticator.java | ||
BindException.java | ||
ConnectException.java | ||
ContentHandler.java | ||
ContentHandlerFactory.java | ||
DatagramPacket.java | ||
DatagramSocket.java | ||
DatagramSocketImpl.java | ||
DatagramSocketImplFactory.java | ||
FileNameMap.java | ||
HttpURLConnection.java | ||
Inet4Address.java | ||
Inet6Address.java | ||
InetAddress.java | ||
InetSocketAddress.java | ||
JarURLConnection.java | ||
MalformedURLException.java | ||
MulticastSocket.java | ||
natInetAddress.cc | ||
natNetworkInterface.cc | ||
natPlainDatagramSocketImpl.cc | ||
natPlainSocketImpl.cc | ||
NetPermission.java | ||
NetworkInterface.java | ||
NoRouteToHostException.java | ||
PasswordAuthentication.java | ||
PlainDatagramSocketImpl.java | ||
PlainSocketImpl.java | ||
PortUnreachableException.java | ||
ProtocolException.java | ||
ServerSocket.java | ||
Socket.java | ||
SocketAddress.java | ||
SocketException.java | ||
SocketImpl.java | ||
SocketImplFactory.java | ||
SocketOptions.java | ||
SocketPermission.java | ||
SocketTimeoutException.java | ||
UnknownHostException.java | ||
UnknownServiceException.java | ||
URI.java | ||
URISyntaxException.java | ||
URL.java | ||
URLClassLoader.java | ||
URLConnection.java | ||
URLDecoder.java | ||
URLEncoder.java | ||
URLStreamHandler.java | ||
URLStreamHandlerFactory.java |