Better mechanism to determine Array class
-----------------------------------------
Key: JBMICROCONT-123
URL:
http://jira.jboss.com/jira/browse/JBMICROCONT-123
Project: JBoss MicroContainer
Issue Type: Task
Components: BeanInfo
Affects Versions: JBossMC_2_0_0 Beta
Reporter: Adrian Brock
Priority: Minor
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