Scope of OpenJDK NIO

David M. Lloyd david.lloyd at redhat.com
Wed Apr 30 10:45:47 PDT 2008


On 04/30/2008 09:23 AM, David M. Lloyd wrote:
> On 04/29/2008 08:45 PM, Alan Bateman wrote:
>> David M. Lloyd wrote:
>>> So exactly what is the scope of this list/project?  Is it simply to 
>>> implement JSR-203 within OpenJDK, or is it generalized, ongoing NIO 
>>> development within OpenJDK?
>>>
>> The project is primarily to develop the implementation of the next 
>> phase of New I/O APIs. There will be ongoing bug fixing and 
>> development of the existing NIO implementation on core-libs-dev. When 
>> non-trivial API updates arise then it may work best to pull them in 
>> here. Do you have something specific in mind?
> 
> Well, just the usual thoughts that come up whenever I deal with NIO:
> 
> - DatagramChannels don't have a way to recover the destination address 
> of an incoming datagram (iow, how do we know whether we just received a 
> broadcast packet?)
> - unconnected DatagramChannels don't support scatter/gather

Here's more:

- Selector doesn't implement Closable, despite have a "void close() throws 
IOException" method
- Other classes, like ZipFile, also have this same deficiency

- DML



More information about the nio-dev mailing list