You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2010/09/18 18:48:03 UTC
[jira] Updated: (AMQ-2213) Equals method return wrong result for
TopicSession / QueueSession
[ https://issues.apache.org/activemq/browse/AMQ-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Snyder updated AMQ-2213:
------------------------------
Fix Version/s: 5.5.0
(was: 5.4.1)
> 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
> Fix For: 5.5.0
>
> 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.