On Sun, May 9, 2010 at 11:45 AM, Alessio Stalla <alessiostalla@gmail.com> wrote:
On Tue, Apr 27, 2010 at 8:54 AM, Alan Ruttenberg <alanruttenberg@gmail.com> wrote:
On Tue, Apr 27, 2010 at 2:48 AM, Alessio Stalla <alessiostalla@gmail.com> wrote:
IIRC, I should have a local patch to make JCLASS use another classloader if you pass it to it, including in CLOS method specializers, as in (defmethod foo ((x (jclass "foo" *my-classloader*))) ...)
If that sounds sensible to you, I can adapt it to the current version of abcl and commit it, so it can be tested.
Let's give it a shot.
I finally committed the patch on trunk.
Tested, works. Thanks. So what do you think about actually integrating the bean shell class loader into ABCL. Source is at http://ikayzo.org/svn/beanshell (root) http://ikayzo.org/svn/beanshell/BeanShell/src/bsh/classpath (classloader) http://ikayzo.org/svn/beanshell/BeanShell/src/bsh/BshClassManager.java (classmanager) I've been using it for about 5 years and it's pretty useful, allowing dynamic modifications to the classpath, including jars as part of asdf systems, etc. -Alan
Alessio