[armedbear-devel] passing adjustable strings to java

Alan Ruttenberg alanruttenberg at gmail.com
Sat May 8 07:01:22 UTC 2010


Sorry I have this wrong:

(#"toString" (make-array 10
              :element-type 'character
              :adjustable t
              :fill-pointer 3 :initial-contents "fooxxxxxxx"))

is what returns "fooxxxxxxx"

jcall version returns "foo".

Which I don't understand. But which perhaps I will in the morning.

-Alan


On Sat, May 8, 2010 at 2:32 AM, Alan Ruttenberg <alanruttenberg at gmail.com>wrote:

> Looks like fill pointer isn't taken into account:
>
> (jcall "toString" (make-array 10
>               :element-type 'character
>               :adjustable t
>               :fill-pointer 3 :initial-contents "fooxxxxxxx"))
> ->
> "fooxxxxxxx"
>
> -Alan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100508/bbf0f8e0/attachment.html>


More information about the armedbear-devel mailing list