[jboss-jira] [JBoss JIRA] Resolved: (JBREM-546) InvokerLocator.equals is broken

Tom Elrod (JIRA) jira-events at jboss.com
Mon Jul 17 17:24:20 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBREM-546?page=all ]

Tom  Elrod resolved JBREM-546.
------------------------------

    Resolution: Done

Changed equals() method of InvokerLocator to compare equality of locator uri characters instead of hash code of the locator uri.  

Test case: org.jboss.test.remoting.locator.InvokerLocatorTestCase

> 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

        



More information about the jboss-jira mailing list