[armedbear-devel] lsw2

Alan Ruttenberg alanruttenberg at gmail.com
Tue Aug 16 20:09:40 UTC 2011


On Tue, Aug 16, 2011 at 3:55 PM, Patrice Seyed <apseyed at gmail.com> wrote:

> How about a boolean?
>

(make-immediate-object nil :boolean)
(make-immediate-object t :boolean)


> Next, I'm trying to work my way up to defining anonymous inner classes from
> within abcl.
>

That's a bit more problematic, at least for me.
Can you write up a specific small code example you want to implement and
send a note the armedbear-devel at common-lisp.net asking for what the
recommended approach would be?

-Alan



>
> Patrice
>
> On Mon, Aug 15, 2011 at 5:53 PM, Alan Ruttenberg <alanruttenberg at gmail.com
> > wrote:
>
>> null = (make-immediate-object nil :ref)
>>
>> On Mon, Aug 15, 2011 at 4:06 PM, Patrice Seyed <apseyed at gmail.com> wrote:
>> > Alan,
>> >
>> > If I wanted to pass as an argument that I would specify as null in
>> > java, from abcl to java, how would I do that?
>> >
>> > For example a method called method1 that takes two argument that I
>> > want to pass a string and the second argument null:
>> >
>> > (#"method1" 'ClassName "string" nil)
>> >
>> > If I specify nil as i did here I get a java exception "argument type
>> mismatch".
>> >
>> > Patrice
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20110816/b2601fbd/attachment.html>


More information about the armedbear-devel mailing list