[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassCastException for char[] MetaValue creation

scott.stark@jboss.org do-not-reply at jboss.com
Wed Aug 8 03:42:25 EDT 2007


The ArrayMetaType seems easy enough and is mostly done, but not checked in. Its the ArrayValue that is more problematic since a primitive array (char[]) is not an Object[]. The jmx stuff does not deal with OpenType value representations. The only way I can see to do this is to drop the Object[] accessors and instead go to something more like the java.lang.reflect.Array.set/get style accessors as this would have to be used to deal with the primitive arrays anyway. I'll play with that more tomorrow.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071862#4071862

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071862



More information about the jboss-dev-forums mailing list