[Armedbear-devel] Access to private methods from ABCL?
Robert Goldman
rpgoldman at sift.net
Wed Nov 5 04:22:10 UTC 2014
Luís Oliveira wrote:
> On Tue, Nov 4, 2014 at 2:37 PM, Robert Goldman <rpgoldman at sift.net> wrote:
>> Is there some way to find a private method and make it accessible, somewhat
>> like the way JSS can make a private field accessible?
>
> If I understand your request correctly (I'm not sure I do, because I
> don't know what JSS is), here's an example how to do it:
> https://github.com/cffi/cffi/blob/v0.14.0/src/cffi-abcl.lisp#L142
>
> HTH,
>
Thanks, Luís, that was exactly what I needed!
JSS is an extension to the JFFI in ABCL. It provides a get-java-field that does a similar bit of magic to allow access to private and protected fields.
I'll hack something like PRIVATE-JMETHOD into JSS for ABCL.
Best,
r
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel at common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
More information about the armedbear-devel
mailing list