[armedbear-devel] anonymous inner class in abcl
evenson at panix.com
Wed Aug 17 07:55:27 UTC 2011
On Aug 16, 2011, at 23:39 , Alessio Stalla wrote:
> For the first question, there are two operators: jmake-proxy and
> jinterface-implementation. The first is newer and more powerful but
> less documented.
There is [a fairly detailed example of how to use JINTERFACE-IMPLEMENTATION
in an answer on stackoverflow that might aid understanding].
> For the second question, there's currently no way to define new Java
> classes in Lisp. Technically it's doable and not particularly hard,
> but nobody did it yet. (ABCL used to support it long time ago). I was
> supposed to look into it some time ago but never found the actual time
> for doing it.
We [have an issue filed][#126] to track the (re)implementation of
this feature, but as Alessio mentioned no one is currently actively
attempting to implement it at this point. The [source to the old
implementation is actually still present in our source tree] but
we would probably rewrite the use of ASM to using our newer JVM
class writing infrastructure so it wouldn't be dependent on additional
"A screaming comes across the sky. It has happened before, but there is nothing to compare to it now."
More information about the armedbear-devel