This is the mail archive of the kawa@sourceware.org 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]

match methods bug again?


#|kawa:156|# (let ((ca :: char[] (char[] length: 8)))
(java.util.Arrays:fill ca #\8))
Argument #1 ([C@182bcde) to
'java.util.Arrays.fill(java.lang.Object[],java.lang.Object)' has wrong
t
ype ([C) ([C cannot be cast to [Ljava.lang.Object;)
        at atInteractiveLevel$122.run(stdin:156)
        at gnu.expr.ModuleExp.evalModule(ModuleExp.java:302)
        at kawa.Shell.run(Shell.java:275)
        at kawa.Shell.run(Shell.java:186)
        at kawa.Shell.run(Shell.java:167)
        at kawa.repl.main(repl.java:870)
Caused by: java.lang.ClassCastException: [C cannot be cast to
[Ljava.lang.Object;
        ... 6 more
#|kawa:157|#

How to bypass this bug?

-- 
WBR, Yaroslav Kavenchuk.


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