|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
,
* java/nio/Buffer.java,
java/nio/ByteBufferImpl.java,
java/nio/CharBufferImpl.java,
java/nio/DoubleBufferImpl.java,
java/nio/DoubleViewBufferImpl.java,
java/nio/FloatBufferImpl.java,
java/nio/FloatViewBufferImpl.java,
java/nio/IntBufferImpl.java,
java/nio/IntViewBufferImpl.java,
java/nio/LongBufferImpl.java,
java/nio/LongViewBufferImpl.java,
java/nio/ShortBufferImpl.java,
java/nio/ShortViewBufferImpl.java,
java/nio/channels/AlreadyConnectedException.java,
java/nio/channels/AsynchronousCloseException.java,
java/nio/channels/ByteChannel.java,
java/nio/channels/CancelledKeyException.java,
java/nio/channels/Channel.java,
java/nio/channels/ClosedByInterruptException.java,
java/nio/channels/ClosedChannelException.java,
java/nio/channels/ClosedSelectorException.java,
java/nio/channels/ConnectionPendingException.java,
java/nio/channels/FileLockInterruptionException.java,
java/nio/channels/GatheringByteChannel.java,
java/nio/channels/IllegalBlockingModeException.java,
java/nio/channels/IllegalSelectorException.java,
java/nio/channels/InterruptibleChannel.java,
java/nio/channels/NoConnectionPendingException.java,
java/nio/channels/NonReadableChannelException.java,
java/nio/channels/NonWritableChannelException.java,
java/nio/channels/NotYetBoundException.java,
java/nio/channels/NotYetConnectedException.java,
java/nio/channels/OverlappingFileLockException.java,
java/nio/channels/ReadableByteChannel.java,
java/nio/channels/ScatteringByteChannel.java,
java/nio/channels/SelectableChannel.java,
java/nio/channels/SelectionKey.java,
java/nio/channels/Selector.java,
java/nio/channels/UnresolvedAddressException.java,
java/nio/channels/UnsupportedAddressTypeException.java,
java/nio/channels/WritableByteChannel.java,
java/nio/charset/spi/CharsetProvider.java:
Reworked coding style and javadocs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/HttpURLConnection.java
(HTTP_NOT_IMPLEMENTED): Must be public.
* java/net/ServerSocket.java
(closed): New member variable.
(bind): Throw exception if socket is closed.
(close): Set new member variable, close associated channel too.
(isClosed): New method.
* java/net/Socket.java
(closed): New member variable.
(bind): Throw exception if socket is closed.
(connect): Throw exception if socket is closed.
(close): Set new member variable, close associated channel too.
(isClosed): New method.
* java/nio/channels/DatagramChannel.java
(connect): Added throws IOException.
(disconnect): Added throws IOException.
(read): Added throws IOException.
(write): Added throws IOException.
(receive): Added throws IOException.
* java/nio/channels/Pipe.java
(open): Added throws IOException.
* java/nio/channels/SelectableChannel.java
(configureBlocking): Added throws IOException.
* java/nio/channels/SelectionKey.java
(OP_ACCEPT): Fix constant value.
(OP_CONNECT): Fix constant value.
(OP_READ): Fix constant value.
(OP_WRITE): Fix constant value.
* java/nio/channels/ServerSocketChannel.java
(accept): Added throws IOException.
* java/nio/channels/SocketChannel.java
(SocketChannel): Fixed implements.
(read): Added throws IOException.
(write): Added throws IOException.
(finishConnect): Added throws IOException.
* java/nio/channels/spi/AbstractInterruptibleChannel.java
(end): Added throws AsynchronousCloseException.
* java/nio/channels/spi/AbstractSelectableChannel.java
(configureBlocking): Added throws IOException.
(implCloseChannel): Added throws IOException.
(implCloseSelectableChannel): Added throws IOException.
(implConfigureBlocking): Added throws IOException.
* java/nio/channels/spi/SelectorProvider.java
(openDatagramChannel): Added throws IOException.
(openPipe): Added throws IOException.
(openSelector): Added throws IOException.
(openServerSocketChannel): Added throws IOException.
(openSocketChannel): Added throws IOException.
(provider): Merge with libgcj.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ChangeLog.usermap: Added myself.
* java/nio/channels/Pipe.java
(SinkChannel.SinkChannel): Documentation added.
(SinkChannel.validOps): New method.
(SourceChannel.SourceChannel): Documentation added.
(SourceChannek.validOps): New method.
(open): Implemented, documentation added.
(SinkChannel.sink): Documentation added.
(SourceChannel.source): Documentation added.
* java/nio/channels/SelectableChannel.java
(SelectableChannel): Documentation added.
(blockingLock): Documentation added.
(configureBlocking): Documentation added.
(isBlocking): Documentation added.
(isRegistered): Documentation added.
(keyFor): Documentation added.
(provider): Documentation added.
(register): Documentation added.
(validOps): Documentation added.
* java/nio/channels/SelectionKey.java
(SelectionKey): Documentation added.
(attach): Documentation added.
(attachment): Documentation added.
(isAcceptable): Documentation added.
(isConnectable): Documentation added.
(isReadable): Documentation added.
(isWritable): Documentation added.
(cancel): Documentation added.
(interestOps): Documentation added.
(isValid): Documentation added.
(readyOps): Documentation added.
(selector): Documentation added.
* java/nio/channels/Selector.java
(Selector): Documentation added.
(open): Documentation added.
(close): Documentation added.
(isOpen): Documentation added.
(keys): Documentation added.
(provider): Documentation added.
(select): Documentation added.
(selectedKeys): Documentation added.
(selectNow): Documentation added.
(wakeup): Documentation added.
* java/nio/channels/spi/AbstractInterruptibleChannel.java
(opened): Default to true.
(AbstractInterruptibleChannel): Documentation added.
(begin): Documentation added.
(close): Set opened, Documentation added.
(end): Documentation added.
(implCloseChannel): Documentation added.
(isOpen): Documentation added.
* java/nio/channels/spi/AbstractSelectableChannel.java
(AbstractSelectableChannel): Documentation added.
(blockingLock): Documentation added.
(configureBlocking): Documentation added.
(implCloseChannel): Documentation added.
(implCloseSelectableChannel): Documentation added.
(implConfigureBlocking): Documentation added.
(isBlocking): Documentation added.
(isRegistered): Documentation added.
(keyFor): Documentation added.
(provider): Documentation added.
(register): Documentation added.
* java/nio/channels/spi/AbstractSelectionKey.java
(AbstractSelectionKey): Documentation added.
(cancel): Documentation added.
(isValid): Documentation added.
* java/nio/channels/spi/AbstractSelector.java
(closed): Default to false.
(AbstractSelector): Documentation added.
(begin): Documentation added.
(close): Documentation added.
(isOpen): Documentation added.
(implCloseSelector): Documentation added.
|