[armedbear-devel] type mismatch for "asList"

Patrice Seyed apseyed at gmail.com
Fri Aug 19 00:08:40 UTC 2011


Hello,

With the following expression:

(#"asList" 'Arrays "test")

I get the error:

Java exception 'SchemeException: java.lang.IllegalArgumentException:
argument type mismatch
ARGUMENT MISMATCH for method

  public static java.util.List java.util.Arrays.asList(java.lang.Object[])
 called with ("test")'.
   [Condition of type JAVA-EXCEPTION]

But "test" is of java.lang.String, which is a subclass of java.lang.Object,
so I'm not sure what the mismatch is.

Any help appreciated.
Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20110818/ac0d17d9/attachment.html>


More information about the armedbear-devel mailing list