NIO.2 Backport to JDK 6 or 5?
Alan.Bateman at Sun.COM
Sat Jan 16 03:49:06 PST 2010
> Any work on a backport of the NIO.2 stuff? It'd be great to be able
> to NIO.2 now. I keep looking for a Multicast Channel on JDK6. Also
> being able to set IPv4 vs IPv6 would be great.
> Any info would be appreciated,
Not to my knowledge. If you go through the nio-dev archives you will
find several developers and projects that have grabbed some of the code
(mostly file system) and got it working with jdk6. They have of course
needed to change the package name. I'm not aware of anyone attempting
the multicast implementation, which might be hard because that is adding
to an existing class. If you are trying the multicast support in jdk7
then please send feedback if you run into any bugs or issues.
I didn't understand the comment about being "able to set IPv4 vs IPv6" -
do you mean the ability for a DatagramChannel to be a channel to an
IPv4-only or IPv6-only socket? That is important for multicasting but
otherwise IPv6 support should be transparent.
More information about the nio-discuss