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: 4640544
Votes 2
Synopsis New I/O: Complete socket-channel functionality
Category java:classes_nio
Reported Against 1.3 , 5.0 , 1.4.2 , tiger , hopper-beta , merlin-beta3
Release Fixed 7(b36)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 4720952 , 6570299 , 4527345 , 6230761
Submit Date 20-FEB-2002
Description
The socket, server-socket, and datagram-socket channel classes in the
java.nio.channels package rely upon the corresponding socket, server-socket,
and datagram-socket classes in the java.net package for operations such as
binding and option configuration.

Many developers find this dependency counterintuitive and have asked for the
ability to write networking code without having to mix the java.net socket and
java.nio socket-channel APIs.  Revising the socket-channel classes so that they
can be used alone would also resolve some tensions in the implementation and
the specification, and would make life easier for those (relatively few)
developers who need to write their own SelectorProvider implementations.
See also CR # 6230761
Posted Date : 2010-01-26 01:21:25.0
Work Around
N/A
Evaluation
Under consideration for Tiger.  --   xxxxx@xxxxx   2002/2/20
As part of NIO.2/JSR-203 we have updated the network-oriented channels so that channel's socket can be bound and socket options manipulated directly. The API also allows for platform/implementation specific socket options to be supported beyond those required by the specification.
Posted Date : 2007-03-23 11:04:18.0

This has been integrated for jdk7 build b36. The changes include multicasting and support for the new IPv6 stack in Windows Vista/2008.
Posted Date : 2008-09-01 12:42:51.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang