This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
ArrayType
- From: Wen-Chun Ni <wcn at tbcommerce dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Wed, 11 Feb 2004 13:49:55 -0800
- Subject: ArrayType
When I tried
(invoke arr 'getClass)
where arr is any Java array type like (String[] or boolean[]), Kawa
will throw ClassCastException in Invoke.java (line 68).
I tracked it a little and found out that gnu.bytecode.ArrayType is
a subclass of ObjectType rather than ClassType. Therefore, we have
such a casting exception. Is there any way to fix it?
By the way, I use the newest CVS version.
Thanx!
Wen-Chun Ni