[ mx4j-Bugs-1116623 ] ModelMBean resource type is case insensitive

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1116623, was opened at 2005-02-05 03:23
Message generated for change (Comment added) made by simonebordet
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1116623&group_id=47745

>Category: JMX implementation
>Group: Release 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Boynes (jboynes)
>Assigned to: Jeremy Boynes (jboynes)
Summary: ModelMBean resource type is case insensitive

Initial Comment:
Well, there's no reference to it in the JavaDoc but
JDK1.5 treats the mr_type passed to
ModelMBean.setManagedResource(Object, String) as case
insensitive when checking for "ObjectReference"

Patch to use equalsIgnoreCase when we check

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

>Comment By: Simone Bordet (simonebordet)
Date: 2005-02-08 09:56

Message:
Logged In: YES 
user_id=1170988

Jeremy, please fix as suggested in the patch

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

Comment By: Eamonn McManus (emcmanus)
Date: 2005-02-07 14:51

Message:
Logged In: YES 
user_id=770046

The spec could be clarified here.  The fact that the Javadoc
for RequiredModelMBean sometimes says "ObjectReference" and
sometimes says "objectReference" implies that the value is
indeed case-insensitive. This could certainly be stated
explicitly.


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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.