Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6569

[classlib][nio]Socket from SocketChannel should return the local address after a bind.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M15
    • Component/s: None
    • Labels:
      None
    • Environment:
      All
    • Patch Info:
      Patch Available

      Description

      Given simple test case:
      Socket socket = SocketChannel.open().socket();
      socket.bind(address);

      Calling socket.getLocalAddress() should return the bind address, not just null.

        Attachments

          Activity

            People

            • Assignee:
              tellison Tim Ellison
              Reporter:
              littlee Li Jing Qin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: