[jboss-jira] [JBoss JIRA] Updated: (JBMICROCONT-123) Better mechanism to determine Array class

Scott M Stark (JIRA) jira-events at lists.jboss.org
Tue Aug 7 20:19:49 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBMICROCONT-123?page=all ]

Scott M Stark updated JBMICROCONT-123:
--------------------------------------

    Comment: was deleted

> Better mechanism to determine Array class
> -----------------------------------------
>
>                 Key: JBMICROCONT-123
>                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-123
>             Project: JBoss MicroContainer
>          Issue Type: Bug
>          Components: BeanInfo
>    Affects Versions: JBossMC_2_0_0 Beta
>            Reporter: Adrian Brock
>         Assigned To: Scott M Stark
>            Priority: Minor
>             Fix For:  JBossMC-2.2.0.GA
>
>
> The current implementation of getArrayClass uses the horrible
>    public static Class getArrayClass(Class clazz, int depth)
>    {
>       return Array.newInstance(clazz, depth).getClass();
>    }
> there must be a better way to do this?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list