-
Enhancement
-
Resolution: Fixed
-
P4
-
1.3.0, 1.4.0, 1.4.1, 1.4.2, 5.0, 6, 7
-
b36
-
generic, unknown, x86
-
generic, other, linux, windows, windows_nt, windows_xp
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2187450 | 6-pool | Miroslaw Niemiec | P4 | Closed | Won't Fix | |
JDK-2187448 | 5.0-pool | Miroslaw Niemiec | P4 | Closed | Won't Fix |
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
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
- backported by
-
JDK-2187448 New I/O: Complete socket-channel functionality
-
- Closed
-
-
JDK-2187450 New I/O: Complete socket-channel functionality
-
- Closed
-
- duplicates
-
JDK-4720952 (so) SocketChannel.socket().getInetAddress() returns null after close
-
- Closed
-
-
JDK-6936010 (so) NIO channels with IPv6 on Windows
-
- Closed
-
-
JDK-4527345 New I/O: Add MulticastChannel
-
- Closed
-