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

rmi test CloseServerSocket.java still failed intermittently with BindException after JDK-8134599

XMLWordPrintable

    • Fix Understood

      java/rmi/transport/closeServerSocket/CloseServerSocket.java

      still failed intermittently with BindException after JDK-8134599.

      ----------System.err:(39/2492)----------

      Regression test for bug 4457683

      - port 41223 is free
      java.rmi.server.ExportException: Port already in use: 41223; nested exception is:
      java.net.BindException: Address already in use
      at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:335)
      at java.rmi/sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:243)
      at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
      at java.rmi/sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
      at java.rmi/sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:234)
      at java.rmi/sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:220)
      at java.rmi/sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:205)
      at java.rmi/java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
      at CloseServerSocket.main(CloseServerSocket.java:61)

            msheppar Mark Sheppard
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: