diff options
| author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-24 06:41:57 +0000 |
|---|---|---|
| committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-24 06:41:57 +0000 |
| commit | df703397997cf04c738d9ac7288bf44cddfd005a (patch) | |
| tree | de044ead0279b2f067cae39ad2fe643a03b72d02 /libjava/gnu/java/nio/natPipeImplPosix.cc | |
| parent | 7d6171f260fff5ad36db704c46d93166ab123b25 (diff) | |
| download | ppe42-gcc-df703397997cf04c738d9ac7288bf44cddfd005a.tar.gz ppe42-gcc-df703397997cf04c738d9ac7288bf44cddfd005a.zip | |
2004-09-24 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
* gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
* gnu/java/nio/VMPipe.java,
gnu/java/nio/VMSelector.java:
New files.
* gnu/java/nio/natPipeImplEcos.cc,
gnu/java/nio/natPipeImplPosix.cc,
gnu/java/nio/natPipeImplWin32.cc:
Ported to VMPipe.
* gnu/java/nio/natSelectorImplEcos.cc,
gnu/java/nio/natSelectorImplPosix.cc,
gnu/java/nio/natSelectorImplWin32.cc:
Ported to VMSelector.
* Makefile.am: Added new files gnu/java/nio/VMPipe.java and
gnu/java/nio/VMSelector.java.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/nio/natPipeImplPosix.cc')
| -rw-r--r-- | libjava/gnu/java/nio/natPipeImplPosix.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/gnu/java/nio/natPipeImplPosix.cc b/libjava/gnu/java/nio/natPipeImplPosix.cc index b847faac6dd..7285dbac40b 100644 --- a/libjava/gnu/java/nio/natPipeImplPosix.cc +++ b/libjava/gnu/java/nio/natPipeImplPosix.cc @@ -1,6 +1,6 @@ // natPipeImplPosix.cc -/* Copyright (C) 2003 Free Software Foundation +/* Copyright (C) 2003, 2004 Free Software Foundation This file is part of libgcj. @@ -16,13 +16,15 @@ details. */ #include <unistd.h> #include <gnu/java/nio/PipeImpl.h> +#include <gnu/java/nio/VMPipe.h> //#include <gnu/java/nio/PipeImpl$SinkChannelImpl.h> //#include <gnu/java/nio/PipeImpl$SourceChannelImpl.h> #include <java/io/IOException.h> #include <java/nio/channels/spi/SelectorProvider.h> void -gnu::java::nio::PipeImpl::nativeInit (::java::nio::channels::spi::SelectorProvider* /*provider*/) +gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl *self, + ::java::nio::channels::spi::SelectorProvider* /*provider*/) { int filedes [2]; |

