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

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Aug 10 04:57:01 EDT 2007


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

Ales Justin closed JBMICROCONT-123.
-----------------------------------

    Fix Version/s: JBossMC-2.0.0.Beta4
                       (was:  JBossMC-2.2.0.GA)
       Resolution: Done

See Scott's comment on the forum - 1st post 2nd page.

> 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: Ales Justin
>            Priority: Minor
>             Fix For: JBossMC-2.0.0.Beta4
>
>
> 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