[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-1865) In SessionState.beforeAborting() it wrongly assumes that all children in a SessionState to be ConsumerState, it could also be a ProducerState

Yong Hao Gao (JIRA) jira-events at lists.jboss.org
Tue May 17 08:21:01 EDT 2011


     [ https://issues.jboss.org/browse/JBMESSAGING-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yong Hao Gao updated JBMESSAGING-1865:
--------------------------------------

        Fix Version/s: 1.4.0.SP3.CP13
                       1.4.8.SP1
    Affects Version/s: 1.4.8.GA
                       1.4.0.SP3.CP12
          Component/s: JMS Facade


> In SessionState.beforeAborting() it wrongly assumes that all children in a SessionState to be ConsumerState, it could also be a ProducerState
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1865
>                 URL: https://issues.jboss.org/browse/JBMESSAGING-1865
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: JMS Facade
>    Affects Versions: 1.4.0.SP3.CP12, 1.4.8.GA
>            Reporter: Yong Hao Gao
>            Assignee: Yong Hao Gao
>             Fix For: 1.4.0.SP3.CP13, 1.4.8.SP1
>
>
> This line:
> ConsumerState conState = (ConsumerState)consumers.next();
> could result in a class cast exception.
> Need to add a check before casting.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list