[
http://jira.jboss.com/jira/browse/JBREM-546?page=comments#action_12339708 ]
Petr Matejka commented on JBREM-546:
------------------------------------
Hashcodes are never guaranteed to be unique, even on short strings (see Object.hashcode
javadoc). The two locator uris with equal hash code (case sensitive):
"http://1.2.3.4/aaa"
"http://1.2.3.4/abB"
InvokerLocator.equals is broken
-------------------------------
Key: JBREM-546
URL:
http://jira.jboss.com/jira/browse/JBREM-546
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: general
Affects Versions: 1.4.4.GA
Reporter: Petr Matejka
Assigned To: Tom Elrod
Fix For: 2.0.0.CR1 (Boon)
InvokerLocator.equals compares hash-codes of uris instead of comparing uris . The
probability of hash collision is quite low except for cases when you connect to many nodes
(which is my case, i'm connecting to >1000 nodes).
--
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