NIO.2 Backport to JDK 6 or 5?

Alan Bateman Alan.Bateman at Sun.COM
Sat Jan 16 13:31:08 PST 2010


Joe wrote:
> I saw a google project with some stuff in it, but it looked long
> abandoned.  Only 5 revisions are in the repository, and it doesn't
> really touch on the DatagramChannel with multicast support.
>
> I had a conversation last night with the person that wrote the NIO.2
> backport for IcedTea v6.  He seemed of the opinion there were too many
> changes to com.sun.* to make a good backport.  He said you'd end up
> repackaging too much for it to be worth it.
>   
That's a fair assessment, especially for the multicast socket as it was 
an update to the API and implementation rather than a completely new 
API. If you are interested then the change-set for this part of the API 
is here:
    http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/343253d05123

The implementation is the sun.nio.ch.* package (not com.sun.*).

-Alan.


> Here is a log of the conversation if you're interested:
> https://pastee.org/4wc6x
>
> Anyway, he was on irc.oftc.net in #openjdk.
>
> Thanks,
> Joe
>   



More information about the nio-discuss mailing list