aboutsummaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>1999-08-03 00:30:53 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>1999-08-03 01:30:53 +0100
commit25fef12b66f0d50abd3d73bbd6c2e5ce96f1b78e (patch)
tree78d5c8974c85c8fca85f6fa82aca2c306a8999c9 /libjava/exception.cc
parenta0e4da0d17c4722c9c8e6c84acdac3ff4e33888b (diff)
downloadgcc-25fef12b66f0d50abd3d73bbd6c2e5ce96f1b78e.zip
gcc-25fef12b66f0d50abd3d73bbd6c2e5ce96f1b78e.tar.gz
gcc-25fef12b66f0d50abd3d73bbd6c2e5ce96f1b78e.tar.bz2
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
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 0c6553f..9a0c796 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -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;