aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/gnu/java/nio/natSocketChannelImpl.cc20
2 files changed, 8 insertions, 18 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index cc4e671..a12774e 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,11 @@
2003-02-13 Michael Koch <konqueror@gmx.de>
+ * gnu/java/nio/natSocketChannelImpl.cc
+ (SocketConnect): This is not implemented yet.
+ (SocketBind): This is not implemented yet.
+
+2003-02-13 Michael Koch <konqueror@gmx.de>
+
* gnu/java/nio/natByteBufferImpl.cc,
gnu/java/nio/natCharBufferImpl.cc,
gnu/java/nio/natDoubleBufferImpl.cc,
diff --git a/libjava/gnu/java/nio/natSocketChannelImpl.cc b/libjava/gnu/java/nio/natSocketChannelImpl.cc
index 4e6c6da..167ee92 100644
--- a/libjava/gnu/java/nio/natSocketChannelImpl.cc
+++ b/libjava/gnu/java/nio/natSocketChannelImpl.cc
@@ -38,15 +38,7 @@ gnu::java::nio::SocketChannelImpl::SocketConnect (jint fd,
::java::net::InetAddress *addr,
jint port)
{
- int result = _Jv_connect_address (fd, addr, port, addr, port);
-
- if (result < 0)
- {
- char* strerr = strerror (errno);
- throw new ::java::io::IOException (JvNewStringUTF (strerr));
- }
-
- return result;
+ throw new ::java::io::IOException (JvNewStringUTF ("SocketConnect not implemented"));
}
jint
@@ -54,15 +46,7 @@ gnu::java::nio::SocketChannelImpl::SocketBind (jint fd,
::java::net::InetAddress *addr,
jint port)
{
- int result = _Jv_bind_address (fd, addr, port);
-
- if (result < 0)
- {
- char* strerr = strerror (errno);
- throw new ::java::io::IOException (JvNewStringUTF (strerr));
- }
-
- return result;
+ throw new ::java::io::IOException (JvNewStringUTF ("SocketBind not implemented"));
}
jint