[ mx4j-Bugs-1540419 ] ModelMBeanInfoSupport.getDescriptor(name, type) returns null

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1540419, was opened at 2006-08-15 10:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1540419&group_id=47745

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: JMX implementation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stolyarov Igor (igor_s)
Assigned to: Nobody/Anonymous (nobody)
Summary: ModelMBeanInfoSupport.getDescriptor(name, type) returns null

Initial Comment:
javax.management.modelmbean.ModelMBeanInfoSupport.getDe
scriptor("", "mbean") returns null, but RI returns 
correct object.

In compliance with RI valid types for parameter 
inDescriptorType of getDescriptor(String 
inDescriptorName, String inDescriptorType) method 
are 'mbean', 'attribute', 'constructor' 'operation', 
and 'notification'. In current implementation of the 
ModelMBeanInfoSupport class in the line 279 there is a 
bug.
.....
if ("MBean".equals(type))
.....

Comparison have to execute with "mbean" string, not 
with "MBean"


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

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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.