Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4640544

New I/O: Complete socket-channel functionality

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.0, 1.4.1, 1.4.2, 5.0, 6, 7
    • Fix Version/s: 7
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      generic, unknown, x86
    • OS:
      generic, other, linux, windows, windows_nt, windows_xp
    • Verification:
      Not verified

      Backports

        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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alanb Alan Bateman
                Reporter:
                mr Mark Reinhold
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: