aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/natFileChannelImpl.cc
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-06-18 08:56:55 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-06-18 08:56:55 +0000
commit299f5809e2d4bafeacb8d05d89da423f0e179a28 (patch)
treec6a667deaaa6cb0a24b5ccb00dcb11b2cccab60e /libjava/gnu/java/nio/natFileChannelImpl.cc
parent20d513ff665af54cc8fb5cac4d2f4fe86ea94259 (diff)
downloadgcc-299f5809e2d4bafeacb8d05d89da423f0e179a28.zip
gcc-299f5809e2d4bafeacb8d05d89da423f0e179a28.tar.gz
gcc-299f5809e2d4bafeacb8d05d89da423f0e179a28.tar.bz2
2003-06-18 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SelectorImpl.java (register): Use fd with value 0 for now, will be fixed later. * gnu/java/nio/ServerSocketChannelImpl.java (fd): Removed. (local_port): Removed. (InetSocketAddress): Removed. (ServerSocketChannelImpl): Just initialize internal socket object. (implCloseSelectableChannel): Close internal socket object. (implConfigureBlocking): Added comment. (accept): Use jaba.net stuff to accept socket. * gnu/java/nio/SocketChannelImpl.java (fd): Removed. (local_port): Removed. (InetSocketAddress): Removed. (SocketCreate): Removed. (SocketConnect): Removed. (SocketBind): Removed. (SocketListen): Removed. (SocketAvailable): Removed. (SocketClose): Removed. (SocketRead): Removed. (SocketWrite): Removed. (SocketChannelImpl): Just initialize internal socket object. (implCloseSelectableChannel): Close internal socket object. (implConfigureBlocking): Fixed implementation, added comment. (connect): Use internal socket object to connect. (socket): No need for sanity checks. (read): Comment out some stuff, this will be reimplemented in the next commit. (write): Likewise. * gnu/java/nio/natFileChannelImpl.cc (nio_mmap_file): Line wrapped. * gnu/java/nio/natSocketChannelImpl.cc: Removed. * Makefile.am (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc. * Makefile.in: Regenerated. From-SVN: r68145
Diffstat (limited to 'libjava/gnu/java/nio/natFileChannelImpl.cc')
-rw-r--r--libjava/gnu/java/nio/natFileChannelImpl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/gnu/java/nio/natFileChannelImpl.cc b/libjava/gnu/java/nio/natFileChannelImpl.cc
index 6275b69..0bc0919 100644
--- a/libjava/gnu/java/nio/natFileChannelImpl.cc
+++ b/libjava/gnu/java/nio/natFileChannelImpl.cc
@@ -73,7 +73,8 @@ gnu::java::nio::FileChannelImpl::implTruncate (jlong size)
}
gnu::gcj::RawData*
-gnu::java::nio::FileChannelImpl::nio_mmap_file (jlong pos, jlong size, jint /*mode*/)
+gnu::java::nio::FileChannelImpl::nio_mmap_file (jlong pos, jlong size,
+ jint /*mode*/)
{
throw new ::java::io::IOException (JvNewStringUTF ("mmap not implemented"));
}