Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4942446

isReachable() API throws BindException for ipv6 hosts on ipv6 enable XP machine

XMLWordPrintable

    • b36
    • x86
    • windows_xp
    • Verified

      The InetAddress.isReachable() API throws a BindException while trying to ping an ipv6 address from an ipv6 enabled windows XP machine. If an ipv4 address is used instead, the API works fine.

      Steps to reproduce the problem:
      1. Extract the java file from the attached file.
      2. Compile this program.
      3. Execute the program on an ipv6 enabled XP machine. Use an ipv6 address as a command line argument to the program.
      4. A BindException is thrown.
      5. Run the same program but pass an ipv4 address on the command line instead of an ipv6 one.
      6. In this case, the test passes.

      The output of the tests is given in the file XPoutput.txt in the attached file.

            jccollet Jean-Christophe Collet (Inactive)
            kjethisunw Kanishk Jethi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: