Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6842687
Votes 0
Synopsis New I/O: Update Asynchronous I/O API to jsr203/nio2-b101
Category java:classes_nio
Reported Against
Release Fixed 7(b71)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 6845128
Submit Date 19-MAY-2009
Description
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.
Posted Date : 2009-05-19 10:57:47.0
Work Around
N/A
Evaluation
Need to sync'up jdk7.
Posted Date : 2009-07-21 10:18:38.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang