PipeImpl.java: Use VMPipe for native stuff.
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. From-SVN: r88014
This commit is contained in:
parent
5d865dace2
commit
9e54846fac
13 changed files with 184 additions and 36 deletions
|
@ -168,12 +168,9 @@ class PipeImpl extends Pipe
|
|||
throws IOException
|
||||
{
|
||||
super();
|
||||
nativeInit (provider);
|
||||
VMPipe.init (this, provider);
|
||||
}
|
||||
|
||||
private native void nativeInit (SelectorProvider provider)
|
||||
throws IOException;
|
||||
|
||||
public Pipe.SinkChannel sink()
|
||||
{
|
||||
return sink;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue