This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: bug?
- From: Per Bothner <per at bothner dot com>
- To: Yaroslav Kavenchuk <kavenchuk at jenty dot by>
- Cc: kawa <kawa at sourceware dot org>
- Date: Wed, 27 Feb 2008 23:50:52 -0800
- Subject: Re: bug?
- References: <47C40CB8.3010600@jenty.by>
Yaroslav Kavenchuk wrote:
http://www.gnu.org/software/kawa/Array-operations.html
Accessing Java array elements
You can access the elements of a Java array by treating it as a
one-argument function, where the argument is the index:
(define primes (<integer[]> 2 3 5 7 11 13))
#|kawa:26|# (define primes (<integer[]> 2 3 5 7 11 13))
java.lang.NoClassDefFoundError: integer
at atInteractiveLevel$26.run(stdin:26)
Ooops. The problem was that there was a missing
step to "lower" the high-level type-name "integer"
to the actual class name gnu.math.IntNum.
I checked in a fix for this, along with your test case.
Thanks.
--
--Per Bothner
per@bothner.com http://per.bothner.com/