"scott.stark(a)jboss.org" wrote :
| I also ran across JBMICROCONT-123 which is about improving the implementation, but
this is actually a bug as this method does not work at all. The depth argument to
Array.newInstance is the array length, not a depth for the array dimension.
|
| | public static Class getArrayClass(Class clazz, int depth)
| | {
| | return Array.newInstance(clazz, depth).getClass();
| | }
| |
|
What's the deal with this one then?
I saw you did an assignment ping-pong. :-)
Do you need it fixed right away?
How come we didn't see this (The depth argument to Array.newInstance is the array
length, not a depth for the array dimension.) before? ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071865#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...