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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M15
    • None
    • None
    • All
    • 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

        1. HARMONY-6569.diff
          2 kB
          Charles Lee

        Activity

          People

            tellison Tim Ellison
            littlee Charles Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: