Harmony
  1. Harmony
  2. HARMONY-6569

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development