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

test/java/net/DatagramSocket/InheritHandle.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0u2
    • core-libs
    • beta
    • generic
    • generic



        Not always, but fairly often, the regression test
        java/net/DatagramSocket/InheritHandle.java fails on linux-i586
        during nightly testing. It always seems to pass on solaris-sparc.
        It also passes when run stand-alone. Here's the error log:

            ----------System.err:(19/1083)----------
            java.net.BindException: Address already in use
        at java.net.PlainDatagramSocketImpl.bind0(Native Method)
        at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
        at java.net.DatagramSocket.bind(DatagramSocket.java:368)
        at java.net.DatagramSocket.<initd>(DatagramSocket.java:210)
        at java.net.DatagramSocket.<initd>(DatagramSocket.java:261)
        at java.net.DatagramSocket.<initd>(DatagramSocket.java:234)
        at InheritHandle.main(InheritHandle.java:14)
        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:585)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:595)

            JavaTest Message: Test threw exception: java.net.BindException: Address already in use

        ###@###.### 2004-11-15 23:09:06 GMT

              yuwangsunw Yujiang Wang (Inactive)
              sseligmasunw Scott Seligman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: