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

TEST_BUG: java/rmi/transport/closeServerSocket/CloseServerSocket.java fails intermittently with Address already in use

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        java/rmi/transport/closeServerSocket/CloseServerSocket.java fails intermittently with Address already in use:

        java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.ServerSocket.bind(ServerSocket.java:376)
        at java.net.ServerSocket.<init>(ServerSocket.java:238)
        at java.net.ServerSocket.<init>(ServerSocket.java:130)
        at CloseServerSocket.verifyPortFree(CloseServerSocket.java:95)
        at CloseServerSocket.main(CloseServerSocket.java:66)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:504)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:746)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mli Hamlin Li
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: