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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0u2
    • Fix Version/s: 6
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description



        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: