aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/SelectorProviderImpl.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-12 13:39:07 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-10-12 13:39:07 +0000
commit81bc077a39faa66769629155bc7d3c03cfe1d194 (patch)
tree5d08f0f5020b2a6cf46bdef0ba775007240ccd17 /libjava/gnu/java/nio/SelectorProviderImpl.java
parentb77d1698d9615b96f094c2bf665f4b16d6c5d674 (diff)
downloadgcc-81bc077a39faa66769629155bc7d3c03cfe1d194.zip
gcc-81bc077a39faa66769629155bc7d3c03cfe1d194.tar.gz
gcc-81bc077a39faa66769629155bc7d3c03cfe1d194.tar.bz2
2003-10-12 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/PipeImpl.java (SourceChannelImpl): New inner class. (SinkChannelImpl): New inner class. (sink): New member variable. (source): New member variable. (PipeImpl): Add SelectorProvider argument, implemented. (nativeInit): New method. (sink): Return sink channel. (source): Return source channel. * gnu/java/nio/SelectorProviderImpl.java (openPipe): Give provider as argument to PipeImpl constructor. * java/nio/channels/spi/SelectorProvider.java (pr): Removed. (systemDefaultProvider): New member variable. (provider): Made it synchronized, use property java.nio.channels.spi.SelectorProvider. * gnu/java/nio/natPipeImpl.cc: New file. * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc. * Makefile.in: Regenerated. From-SVN: r72397
Diffstat (limited to 'libjava/gnu/java/nio/SelectorProviderImpl.java')
-rw-r--r--libjava/gnu/java/nio/SelectorProviderImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gnu/java/nio/SelectorProviderImpl.java b/libjava/gnu/java/nio/SelectorProviderImpl.java
index d58e10a..41966ef 100644
--- a/libjava/gnu/java/nio/SelectorProviderImpl.java
+++ b/libjava/gnu/java/nio/SelectorProviderImpl.java
@@ -1,5 +1,5 @@
/* SelectorProviderImpl.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -60,7 +60,7 @@ public class SelectorProviderImpl extends SelectorProvider
public Pipe openPipe ()
throws IOException
{
- return new PipeImpl ();
+ return new PipeImpl (this);
}
public AbstractSelector openSelector ()