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

(ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException

    XMLWordPrintable

Details

    • b25
    • generic, x86
    • generic, windows_xp
    • Not verified

    Backports

      Description

        Test Location: /net/cady/export/jdk/6u4/promoted/latest/ws/j2se/test/java/nio/channels/SocketChannel/Connect.java

        Test Output:
        ----------System.err:(24/1302)----------
        Got event for our selection key.
        Successful connect.
        SUCCESS! buffer contents were sent.
        java.net.UnknownHostException: jano.sfbay.sun.com
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
        at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200) at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
        at java.net.InetAddress.getAllByName(InetAddress.java:1083)
        at java.net.InetAddress.getAllByName(InetAddress.java:1019)
        at java.net.InetAddress.getByName(InetAddress.java:969)
        at Connect.test1(Connect.java:30)
        at Connect.main(Connect.java:19)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
        at java.lang.Thread.run(Thread.java:619)

        Attachments

          Issue Links

            Activity

              People

                alanb Alan Bateman
                jaleesunw James Lee (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: