ServerSocket.java: Define ANY_IF.
* java/net/ServerSocket.java: Define ANY_IF.
(ServerSocket (int,int)): Use ANY_IF instead of null to bind to
all network interfaces.
* java/net/DatagramSocket.java (DatagramSocket): ditto.
* java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
null.
* java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
instead of null.
From-SVN: r28429
This commit is contained in:
committed by
Bryce McKinlay
parent
a0e4da0d17
commit
25fef12b66
@@ -147,7 +147,7 @@ _Jv_Throw (void *value)
|
||||
_Jv_eh_alloc ();
|
||||
ehinfo = *(__get_eh_info ());
|
||||
}
|
||||
ehinfo->eh_info.match_function = (__eh_matcher)_Jv_type_matcher;
|
||||
ehinfo->eh_info.match_function = (__eh_matcher) _Jv_type_matcher;
|
||||
ehinfo->eh_info.language = EH_LANG_Java;
|
||||
ehinfo->eh_info.version = 1;
|
||||
ehinfo->value = value;
|
||||
|
||||
Reference in New Issue
Block a user