CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Mark Wielaard <[EMAIL PROTECTED]> 05/07/11 18:23:06
Modified files: . : ChangeLog native/jni/java-net: gnu_java_net_PlainDatagramSocketImpl.c javanet.c native/target/generic: target_generic_network.h Log message: * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c: Whenever an ExceptionOccurred just return to throw it, don't mask. * native/jni/java-net/javanet.c (_javanet_get_netaddr): Check for NULL addr. (_javanet_create): Explicitly close socket on failure. (_javanet_close): Save error message and retry closing when interrupted before throwing exception. (_javanet_connect): Keep retrying connect after system call interrupted. First construct exception before cleanup. (_javanet_bind): Save error string for exception. (_javanet_accept): Explicitly close socket on failure. (_javanet_recvfrom): Throw SocketTimeoutException when timed out. (_javanet_sendto): Send all data even when interrupted. (_javanet_set_option): Don't ignore error when setting SO_TIMEOUT. * native/target/generic/target_generic_network.h (TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT): Use timeval for setsockopt. (TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_TIMEOUT): Likewise for getsockopt. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4051&tr2=1.4052&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c.diff?tr1=1.11&tr2=1.12&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/java-net/javanet.c.diff?tr1=1.22&tr2=1.23&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/target/generic/target_generic_network.h.diff?tr1=1.13&tr2=1.14&r1=text&r2=text _______________________________________________ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath