[jboss-dev-forums] [Design of POJO Server] - Re: Serialization, NoSuchMethodException in ProfileServiceUn
scott.stark@jboss.org
do-not-reply at jboss.com
Mon Dec 17 13:34:55 EST 2007
Its already there in some form as this test produces the correct primitive ArrayInfo:
| public void testByteArrayInfo()
| {
| TypeInfoFactory factory = getTypeInfoFactory();
| byte[] x = {};
| TypeInfo xinfo = factory.getTypeInfo(x.getClass());
| getLog().debug(xinfo);
| assertTrue(xinfo instanceof ArrayInfo);
| ArrayInfo ainfo = (ArrayInfo) xinfo;
| }
|
| 28 DEBUG [ByteArrayUnitTestCase] ArrayInfoImpl at 3148aa23{name=[B}
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113507#4113507
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113507
More information about the jboss-dev-forums
mailing list