Goga, Murtaza wrote:
> I compiled RuntimeBuiltinLeafInfoImpl with some sys outs. It seems that
> is is failing on the second object create with
> java.lang.ArrayStoreException.
>
> This one is OK:
> new StringImpl<Character>(Character.class, createXS("unsignedShort")) ..
>
> It bails out on the following:
> new StringImpl<Calendar>(Calendar.class, DatatypeConstants.DATETIME) {..
Hmm. Can you move this new StringImpl<Calendar>(...) out to make it a
variable assignment first, and then set that to an array?
StringImpl<Calendar> cal = new String<Calendar>(...);
When you run this with debugger, can you check where they are being
loaded from, have compatible types, etc?
Check out
http://which4j.dev.java.net/ --- it's very handy for this kind
of problems.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com