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
Reporter: Yong Hao Gao
Assignee: Yong Hao Gao
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