El 18/05/12 13:28, Alex Mizrahi escribió:
As a workaround, you could try to force
initialization of the class by
accessing some static field or method or ask for some metadata
(jclass-methods, jclass-name, ...). But I don't know if that's
guaranteed to work.
I've got it working once using something like java:jclass in SLIME
REPL, but not it doesn't seem to work (in a slightly different
environment).
Note that if jar is added to classpath via java commandline
Class.forName will work fine. That's probably the easiest way to
get it working.
Only loading jar dynamically via classloader is a problem.
I've also tried that. Started ABCL with 'java -cp $JDBC_JAR
abcl.jar' and Class.forName still didn't work. Am I missing some
parameter?
Or you can revert to Class.forName, but
ensuring to use the overload
that takes an explicit classloader, and feeding it the one used
by
ABCL (look in java.lisp to see how to retrieve it).
Just tried it, doesn't seem to work either.
_______________________________________________
armedbear-devel mailing list
armedbear-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
--
+-----------------
| Francisco Vides Fernández <fvides@igaleno.com>
| Gerente
| Teléfono fijo: 952 60 29 59
| Fax: 952 60 29 59
| igaleno http://www.igaleno.com/
+------