[nanocontainer-scm] [jira] Closed: (NANO-114) JMXVisitor throws ClassCastException if key is not a String or Class

jira-yCVjj/[email protected] Wed, 16 Feb 2005 04:20:45 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
Message:

   The following issue has been closed.

   Resolver: Joerg Schaible
       Date: Wed, 16 Feb 2005 4:19 AM

Done. Although after the refactoring, the registration code for components lives in RegisteredMBeanConstructingProvider.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/NANO-114

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-114
    Summary: JMXVisitor throws ClassCastException if  key is not a String or Class
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             jmx
   Fix Fors:
             1.0-beta-5
   Versions:
             1.0-beta-4

   Assignee: Joerg Schaible
   Reporter: Joerg Schaible

    Created: Tue, 30 Nov 2004 3:48 AM
    Updated: Wed, 16 Feb 2005 4:19 AM

Description:
The JMXVisitor implementation makes an explicit assumption about the registered key to be either a Class type or  aString in method componentKeyAsString. If the key is not a Class it sould get the string representation from the key instead casting it.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira