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

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


    [ http://jira.jboss.com/jira/browse/JBREM-546?page=comments#action_12339698 ] 
            
Tom  Elrod commented on JBREM-546:
----------------------------------

Can you provide a test case?  Or at least some locator url values I can use for testing?

I actually thought this bug in the jdk (which did not provide unique hash code values for large strings), was fixed in jdk 1.2 (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=1258091).

> 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