Harmony
  1. Harmony
  2. HARMONY-327

Java 5 Enhancement: 2 new methods in java.net.java.net.InetAddress

    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

      Two new methods in java.net.InetAddress need implement in Harmony:
      1. isReachable(int)
      2. isReachable(NetworkInterface,int,int)

      1. luni.native.diff
        14 kB
        Richard Liang
      2. luni.src.diff
        14 kB
        Richard Liang

        Activity

        Hide
        Richard Liang added a comment -

        Hello,

        Would you please try my patch for this issue? Thanks a lot.

        Show
        Richard Liang added a comment - Hello, Would you please try my patch for this issue? Thanks a lot.
        Hide
        George Harley added a comment -

        Hi Richard,

        Changes committed in revision 406644, please could you verify that you are happy with how your patches have been applied. Note that the InetAddressTest.java patch included code for a MockSecurityManager that was not used elsewhere in the patch - perhaps this was inadvertantly included in your changes ? For the time being I have not committed the MockSecurityManager code.

        Many thanks for this enhancement.

        Best regards,
        George

        Show
        George Harley added a comment - Hi Richard, Changes committed in revision 406644, please could you verify that you are happy with how your patches have been applied. Note that the InetAddressTest.java patch included code for a MockSecurityManager that was not used elsewhere in the patch - perhaps this was inadvertantly included in your changes ? For the time being I have not committed the MockSecurityManager code. Many thanks for this enhancement. Best regards, George
        Hide
        Richard Liang added a comment -

        Hello George,

        It's fault. MockSecurityManager IS not intended for this issue. Now the fix works fine. Thanks a lot.

        Best regards,
        Richard.

        Show
        Richard Liang added a comment - Hello George, It's fault. MockSecurityManager IS not intended for this issue. Now the fix works fine. Thanks a lot. Best regards, Richard.
        Hide
        George Harley added a comment -

        Verified by Richard.

        Show
        George Harley added a comment - Verified by Richard.

          People

          • Assignee:
            George Harley
            Reporter:
            Richard Liang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development