JDK-6279965 : complete 4457683 fix: release server socket originally created for exports on anonymous ports too
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 6
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2005-06-03
  • Updated: 2013-04-12
Related Reports
Relates :  
Relates :  
Relates :  
Description
In order to fix 6269166 expediently, part of the fix for 4457683 was backed out, so that RMI implementation does not close a server socket originally created for exporting a remote object on an anonymous port (when no remote object remain exported on that server socket).  This bug represents re-fixing that remainder of 4457683, which will require some more complicated implementation re-architecture.

Also, entries in the static table sun.rmi.transport.tcp.TCPEndpoint.localEndpoints should be removed when the corresponding TCPTransport object no longer has any remote objects exported to it; this should also be done as part of the implementation work for fixing this bug.

###@###.### 2005-06-03 02:44:59 GMT

Comments
EVALUATION Yes, this should be done. ###@###.### 2005-06-21 22:35:07 GMT
2005-06-21