activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Gies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2213) Equals method return wrong result for TopicSession / QueueSession
Date Tue, 21 Apr 2009 07:19:31 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Gies updated AMQ-2213:
------------------------------

    Attachment: SessionEqualsTest.java

Attached a JUnit test showing the error. 

> Equals method return wrong result for TopicSession / QueueSession
> -----------------------------------------------------------------
>
>                 Key: AMQ-2213
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2213
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.2.0
>         Environment: All
>            Reporter: Andreas Gies
>         Attachments: SessionEqualsTest.java
>
>
> The equals method return false even when it is executed on the same object for the specialized
classes of Session (TopicSession, QueueSession). If those objects are held within a List,
the contains method would return false even if the object in question is already in the list.

> This is a minor issue as the cleanups are normally done on the connection level and users
shouldn't need to keep track of open sessions for a later cleanup.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message