You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2013/04/01 17:03:15 UTC

[jira] [Commented] (QPID-3769) NPE in client AMQDestination.equals()

    [ https://issues.apache.org/jira/browse/QPID-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618814#comment-13618814 ] 

Rajith Attapattu commented on QPID-3769:
----------------------------------------

Adjusted the hashcode and equals impl for AMQTopic to take the new implementation (in AMQDestination) into account while preserving the old BURL based logic.  Addressed concerns regarding the tests.
http://svn.apache.org/r1463158
                
> NPE in client AMQDestination.equals()
> -------------------------------------
>
>                 Key: QPID-3769
>                 URL: https://issues.apache.org/jira/browse/QPID-3769
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.12
>            Reporter: Jan Bareš
>            Assignee: Rajith Attapattu
>              Labels: addressing
>
> Code of org.apache.qpid.client.AMQDestination.equals(Object) is buggy, it should test for null on _exchangeClass and _exchangeName before dereferencing them, lines 522 and 526.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org