Harmony
  1. Harmony
  2. HARMONY-224

java.net.InetSocketAddress: one new J2SE 5 method "createUnresolved" has not been implemented in Harmony

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None

      Description

      One new J2SE 5 method "createUnresolved" is added in java.net.InetSocketAddress class. It creates a socket without trying to resolve the hostname.

      I'll upload a patch soon.

      1. JIRA224_patch.zip
        2 kB
        Richard Liang

        Activity

        Hide
        Richard Liang added a comment -

        Hi,
        This patch includes both implementation & test for "createUnresolved" method.
        To apply the patch, please follow instructions below:
        1. Click "Team"->"Apply patches...", select "JIRA224_InetSocketAddress_patch.txt".
        2. Copy test file "InetSocketAddressTest.java" into luni/src/test/java/tests.api.java.net package.
        Would you please have a try? Thanks a lot!

        Show
        Richard Liang added a comment - Hi, This patch includes both implementation & test for "createUnresolved" method. To apply the patch, please follow instructions below: 1. Click "Team"->"Apply patches...", select "JIRA224_InetSocketAddress_patch.txt". 2. Copy test file "InetSocketAddressTest.java" into luni/src/test/java/tests.api.java.net package. Would you please have a try? Thanks a lot!
        Hide
        Tim Ellison added a comment -

        Thanks Richard,

        Patch applied to LUNI module java.net.InetSocketAddress at repo revision 390043.

        Please check that the patch was applied as you expected.

        Show
        Tim Ellison added a comment - Thanks Richard, Patch applied to LUNI module java.net.InetSocketAddress at repo revision 390043. Please check that the patch was applied as you expected.
        Hide
        Richard Liang added a comment -

        Thanks Tim,

        The fix looks good.

        Please close this issue.

        Show
        Richard Liang added a comment - Thanks Tim, The fix looks good. Please close this issue.
        Hide
        Tim Ellison added a comment -

        Verified by Richard

        Show
        Tim Ellison added a comment - Verified by Richard

          People

          • Assignee:
            Tim Ellison
            Reporter:
            Richard Liang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development