Test: java/net/InetAddress/IPv4Formats.java should use a better name to generate an UHE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • beta
    • generic
    • generic

      java/net/InetAddress/IPv4Formats.java uses the name 'hello' to test for InetAddress.getByName() throwing UnknownHostException. Not a very good name for such a test as it is possible to have a machine named 'hello' on a network. It should use a fully qualified name with a non existing domain which is basically the only way to be fairly certain it will never exist on any of the machines the test is run on.

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Jean-Christophe Collet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: