2003-02-11 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natCharBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natDoubleBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natFloatBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natIntBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natLongBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natShortBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/SelectorProviderImpl.java (openDatagramChannel): Throws IOException. (openPipe): Throws IOException. (openSelector): Throws IOException. (openServerSocketChannel): Throws IOException. (openSocketChannel): Throws IOException. * gnu/java/nio/ServerSocketChannelImpl.java (ServerSocketChannelImpl): Throws IOException. (implCloseSelectableChannel): Throws IOException. (implConfigureBlocking): Throws IOException. * java/nio/ByteBuffer.java (readOnly): Removed. (hasArray): Use isReadOnly() instead of readOnly. (array): Use isReadOnly() instead of readOnly. (arrayOffset): Use isReadOnly() instead of readOnly. * java/nio/CharBuffer.java (CharBuffer): Implements Cloneable and CharSequence. From-SVN: r62688
This commit is contained in:
parent
c728da61c6
commit
194ea9ced6
11 changed files with 57 additions and 618 deletions
|
@ -58,6 +58,7 @@ class ServerSocketChannelImpl extends ServerSocketChannel
|
|||
SocketChannelImpl s);
|
||||
|
||||
protected ServerSocketChannelImpl (SelectorProvider provider)
|
||||
throws IOException
|
||||
{
|
||||
super (provider);
|
||||
fd = SocketChannelImpl.SocketCreate ();
|
||||
|
@ -86,14 +87,14 @@ class ServerSocketChannelImpl extends ServerSocketChannel
|
|||
}
|
||||
}
|
||||
|
||||
protected void implCloseSelectableChannel ()
|
||||
protected void implCloseSelectableChannel () throws IOException
|
||||
{
|
||||
connected = false;
|
||||
SocketChannelImpl.SocketClose (fd);
|
||||
fd = SocketChannelImpl.SocketCreate ();
|
||||
}
|
||||
|
||||
protected void implConfigureBlocking (boolean block)
|
||||
protected void implConfigureBlocking (boolean block) throws IOException
|
||||
{
|
||||
blocking = block;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue