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

        Li Jing Qin created issue -
        Li Jing Qin made changes -
        Field Original Value New Value
        Attachment HARMONY-6569.diff [ 12448745 ]
        Tim Ellison made changes -
        Assignee Tim Ellison [ tellison ]
        Hide
        Tim Ellison added a comment -

        Thanks for the patch.

        Applied to nio module at repo revision r960865.

        Please verify it was applied as you expected.

        Show
        Tim Ellison added a comment - Thanks for the patch. Applied to nio module at repo revision r960865. Please verify it was applied as you expected.
        Tim Ellison made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.0M15 [ 12315054 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Harmony-1.5-head-linux-x86_64 #882 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/882/)
        Apply patch for HARMONY-6569 ([classlib][nio]Socket from SocketChannel should return the local address after a bind)

        Show
        Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #882 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/882/ ) Apply patch for HARMONY-6569 ( [classlib] [nio] Socket from SocketChannel should return the local address after a bind)
        Hide
        Hudson added a comment -

        Integrated in Harmony-select-1.5-head-linux-x86_64 #56 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/56/)
        Apply patch for HARMONY-6569 ([classlib][nio]Socket from SocketChannel should return the local address after a bind)

        Show
        Hudson added a comment - Integrated in Harmony-select-1.5-head-linux-x86_64 #56 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/56/ ) Apply patch for HARMONY-6569 ( [classlib] [nio] Socket from SocketChannel should return the local address after a bind)
        Hide
        Li Jing Qin added a comment -

        Verified. Thanks Tim.

        Show
        Li Jing Qin added a comment - Verified. Thanks Tim.
        Li Jing Qin made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        4h 26m 1 Tim Ellison 06/Jul/10 11:46
        Resolved Resolved Closed Closed
        14h 50m 1 Li Jing Qin 07/Jul/10 02:37

          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