natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.
2005-06-05 Anthony Green <green@redhat.com> * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug. From-SVN: r100650
This commit is contained in:
parent
7721d5d4cb
commit
c8891bef49
|
@ -1,3 +1,8 @@
|
|||
2005-06-05 Anthony Green <green@redhat.com>
|
||||
|
||||
* gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
|
||||
fall-through bug.
|
||||
|
||||
2005-06-04 Anthony Green <green@redhat.com>
|
||||
|
||||
* java/net/URLClassLoader.java: import gnu.gcj.Core,
|
||||
|
|
|
@ -646,6 +646,7 @@ gnu::java::net::PlainSocketImpl::setOption (jint optID, ::java::lang::Object *va
|
|||
if (::setsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val,
|
||||
val_len) != 0)
|
||||
goto error;
|
||||
return;
|
||||
#else
|
||||
throw new ::java::lang::InternalError (
|
||||
JvNewStringUTF ("SO_REUSEADDR not supported"));
|
||||
|
|
Loading…
Reference in New Issue