This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]