summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/ServerSocketChannelImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java')
-rw-r--r--libjava/gnu/java/nio/ServerSocketChannelImpl.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/libjava/gnu/java/nio/ServerSocketChannelImpl.java b/libjava/gnu/java/nio/ServerSocketChannelImpl.java
index 039b50308d6..0b3fc66e981 100644
--- a/libjava/gnu/java/nio/ServerSocketChannelImpl.java
+++ b/libjava/gnu/java/nio/ServerSocketChannelImpl.java
@@ -73,15 +73,15 @@ class ServerSocketChannelImpl extends ServerSocketChannel
public void finalizer()
{
if (connected)
- {
+ {
try
{
- close();
+ close ();
}
catch (Exception e)
{
}
- }
+ }
}
protected void implCloseSelectableChannel () throws IOException
@@ -91,12 +91,12 @@ class ServerSocketChannelImpl extends ServerSocketChannel
fd = SocketChannelImpl.SocketCreate ();
}
- protected void implConfigureBlocking (boolean block) throws IOException
+ protected void implConfigureBlocking (boolean blocking) throws IOException
{
- blocking = block;
+ this.blocking = blocking;
}
- public SocketChannel accept ()
+ public SocketChannel accept () throws IOException
{
SocketChannelImpl result = new SocketChannelImpl (provider ());
result.sa = new InetSocketAddress (0);