#126: Provide mechanism for user to extend Java classes via Lisp
----------------------+-----------------------------------------------------
Reporter: mevenson | Owner: nobody
Type: task | Status: new
Priority: minor | Milestone: unscheduled
Component: java | Version: 1.0
Keywords: |
----------------------+-----------------------------------------------------
[http://stackoverflow.com/questions/4785969/can-you-write-a-java-class-
with-abcl/4803353#4803353 In a question on StackOverflow] a user asks if
it is possible to extend a Java class in Lisp. This sort of functionality
generally seems to be unavailable in any JVM language, only possible by
using bytecode libraries. Since we have a fairly complete bytecode
library in our Java class writer, it might provide a distinguishing
feature to implement such an extension mechanism.
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/126>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#125: Qi loading issues
------------------------+---------------------------------------------------
Reporter: ehuelsmann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: libraries | Version: 0.24
Keywords: |
------------------------+---------------------------------------------------
Greg Baryza writes:
{{{
I recently became interested in the language QI. Since it did not run on
ABCL (it does on SBCL, Allegro, LispWorks and others), I decided to see
what it would take to move it there. From the QI mailing list, I found
several others had tried on earlier versions of ABCL with inconclusive
results. I decided to give it a try on 0.23.1.
When I tried the standard script with compiles and then loads the compiled
files, ABCL hangs it what appears to be an infinite loop try to load one
of
the compiled files. When I switch to just loading them in as Lisp
sources,
things seem to work (though some of the QI tests later fail).
I tried the compile/load script under 0.24.0 today and the same hang
happens.
}}}
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/125>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#119: Unexpected CLOS shared slot initialization order
--------------------------------------+-------------------------------------
Reporter: mevenson | Owner: analysis
Type: defect | Status: new
Priority: major | Milestone: unscheduled
Component: CLOS | Version: 1.0
Keywords: clos unexpected-behavior |
--------------------------------------+-------------------------------------
Didier Verner writes:
{{{
it seems that until now, I've been relying on a non-standard behavior,
namely the fact that shared slots with an :initform are initialized
before the first actual class instance is created:
(defclass test () ((slot :allocation :class :initform t)))
(defmethod initialize-instance :before ((test test) &key)
(format t "Slot boundp: ~A~%" (slot-boundp test 'slot)))
CL-USER> (make-instance 'test)
Slot boundp: NIL
#<TEST {C5D3B8}>
CL-USER> (make-instance 'test)
Slot boundp: T
#<TEST {14563D4}>
CL-USER>
I just fell on this because every other Common Lisp implementation I've
tried gives T and T here. Is it due to the way CLOS is implemented in
ABCL, and is there a chance that this can be improved?
}}}
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/119>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#18: Incorporate 'invoke.lisp' dynamic classpath ability
-------------------------+--------------------------------------------------
Reporter: mevenson | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: component1 | Version:
Keywords: |
-------------------------+--------------------------------------------------
Alan Ruttenberg's [invoke.lisp][1] has the ability to easily add
additional Java JARs at runtime by using the [beanshell classloader][2].
With a few additions to the ASDF system, this allows one to easily specify
"wrappings" of Java components which load JARs or find classfiles on the
filesystem.
The code in the Beanshell classmanager could be added to the ABCL src tree
fairly easily to facilitate this behavior.
[1]: http://svn.mumble.net:8080/svn/lsw/trunk/jss/invoke.lisp
[2]: http://www.beanshell.org/home.html
--
Ticket URL: <http://127.0.0.1:8000/armedbear/ticket/18>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#109: When TPL::REPL is unavailable, the debugger kills the entire application
------------------------+---------------------------------------------------
Reporter: ehuelsmann | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: libraries | Version:
Keywords: |
------------------------+---------------------------------------------------
Ole Myren Rohne reports:
""
I'm playing with AbclScriptEngine (with Electric VLSI) and found a tiny
problem with config.lisp: EXT:MAKE-THREAD should be THREADS:MAKE-THREAD.
""
which is already solved, but continues:
Unfortunately the problem was unnecessary hard to debug because in the
absence of TPL::REPL the debugger ends up quitting the entire application.
I'm wondering if in that case it would be more useful to throw a Java
error, eg like SYS::%DEBUGGER-HOOK-FUNCTION?
That's what this ticket is about.
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/109>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#117: Compiler stack inconsistency
----------------------+-----------------------------------------------------
Reporter: mevenson | Owner: ehuelsmann
Type: defect | Status: new
Priority: major | Milestone: unscheduled
Component: compiler | Version: 0.23
Keywords: |
----------------------+-----------------------------------------------------
In compiling Alexandria from its git repository, I isolated the following
case where the compiler fails by detecting a stack inconsistency:
{{{
;;; Stack inconsistency detected in NIL at index 240: found 4, expected 1.
(mapcar (lambda (x)
(handler-case
(elt x 0)
(type-error ()
:type-error)))
(list nil #() 3))
}}}
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/117>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#108: ASDF-INSTALL fails to download
--------------------------+-------------------------------------------------
Reporter: mevenson | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone: unscheduled
Component: libraries | Version: 0.22
Keywords: ASDF-INSTALL |
--------------------------+-------------------------------------------------
ASDF-INSTALL is improperly casting its download streams to something other
than raw bytes, causing the following sort of errors.
From http://article.gmane.org/gmane.lisp.armedbear.devel/1468
{{{
I recently started using abcl 0.22.0 but have run into issues installing
packages using asdf-install. Here is an example error message. Does
anyone know of a solution to this?
CL-USER(7): (asdf-install:install 'hunchentoot)
Install where?
1) System-wide install:
System in /usr/local/asdf-install/site-systems/
Files in /usr/local/asdf-install/site/
2) Personal installation:
System in /home/raison/.asdf-install-dir/systems/
Files in /home/raison/.asdf-install-dir/site/
0) Abort installation.
--> 2
;;; ASDF-INSTALL: Downloading 139617 bytes from
http://weitz.de/files/hunchentoot.tar.gz to
/home/raison/asdf-install-0.asdf-install-tmp ...
#<THREAD "interpreter" {4DA42824}>: Debugger invoked on condition of
type STREAM-ERROR
Input value 0xdc4a is malformed while recoding with charset UTF-8
Restarts:
0: TOP-LEVEL Return to top level.
[1] CL-USER(8): 0
CL-USER(9):
}}}
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/108>
armedbear <http://common-lisp.net/project/armedbear>
armedbear