[ mx4j-Bugs-857840 ] Incorrect member variable being used in RelationService

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #857840, was opened at 2003-12-10 20:47
Message generated for change (Comment added) made by shadow12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=857840&group_id=47745

Category: JMX implementation
Group: Release 1.1.1
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bronwen Cassidy (shadow12)
Summary: Incorrect member variable being used in RelationService

Initial Comment:
From: [email protected]

It looks like RelationService.addNewMBeanReference
(ObjectName objectName, String relationId, String 
roleName) is using the wrong member variable during the 
assignment of the local variable mbeanReferenceMap. 
Instead of m_relationMBeanObjectNameToRelationId 
should this be 
m_referencedMBeanObjectNameToRelationIds?

I am receiving ClassCastExceptions when RelationService 
makes this assignment since the current member variable 
is a simple map from objectName to relation ids (a 
String). 

Steve Forsyth

----------------------------------------------------------------------

>Comment By: Bronwen Cassidy (shadow12)
Date: 2003-12-11 20:34

Message:
Logged In: YES 
user_id=378939

Thank-you steve you were correct, i have fixed it and it is 
now in cvs along with a test.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=857840&group_id=47745


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.