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

scott.stark@jboss.org do-not-reply at jboss.com
Tue Aug 7 23:32:09 EDT 2007


I created JBMICROCONT-202 for these issues and have checked in some changes for these that has the tests passing. There is a real mismatch in the type system for primitive arrays vs the object forms of such arrays. I played around with a few different things to try to better preserve the primitive arrays, but since you can't create generic arrays, the ArrayMetaValue always has to be the Object form (Character[] instead of char[]).


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

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



More information about the jboss-dev-forums mailing list