This bug tracks updates to the JSR-203 spec that have accumulated since the integration into jdk7 b50.
1. The asynchronous I/O methods that take a CompletionHandler as parameter should return void (not Future<V>). We don't have use-cases where the two forms are mixed and it is confusing to developers to support both in the same methods.
2. A side effect of #1 is that the CompletionHandler cancelled method is no longer required.
3. AsynchronousFileChannel#close should not close the associated thread pool when the channel is closed.
4. AsynchronousDatagramChannel has send and methods that specify a timeout. These do not make sense and should be removed.
|