[ 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-04 18:23 Message generated for change (Comment added) made by jboynes 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: Pending >Resolution: Fixed 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: Jeremy Boynes (jboynes) Date: 2005-02-08 23:03 Message: Logged In: YES user_id=378919 patch applied ---------------------------------------------------------------------- Comment By: Simone Bordet (simonebordet) Date: 2005-02-08 00: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 05: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