Remove equals() and hashCode() from
org.jboss.remoting.transport.rmi.RemotingRMIClientSocketFactory.
----------------------------------------------------------------------------------------------------
Key: JBREM-670
URL:
http://jira.jboss.com/jira/browse/JBREM-670
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.2.0.Beta1 (Bluto)
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.2.0.Beta1 (Bluto)
The definition of hashCode is problematic because it depends on the presence or absence of
a SocketFactory, which comes and goes during createSocket(). Currently, the
RemotingRMIClientSocketFactory is used as a key in a HashMap, and the SocketFactory is
present when the entry is made and absent when the table is later searched. The result is
that a new SocketFactory is created during each call to createSocket().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira