#246: CFFI: dynamically generated classes referred from .fasl can not be found after ABCL restart ------------------------+--------------------------------------------------- Reporter: avodonosov | Owner: somebody Type: defect | Status: new Priority: major | Milestone: Component: other | Version: Keywords: | ------------------------+--------------------------------------------------- Armed Bear Common Lisp 1.1.0-dev-svn-14181 Java 1.6.0_24 Sun Microsystems Inc.
{{{ (java:add-to-classpath "my-jna/jna.jar") (provide 'jna) (ql:quickload :drakma) ;; depends on CL+SSL }}}
Do it first time after removing ~/.cache/common-lisp/. Works OK.
Restart ABCL. Try the same code:
{{{ Error loading C:/Users/anton/AppData/Local/common-lisp/cache/abcl-1.1.0 -dev- svn-14181-fasl39-win-x86/C/Users/anton/quicklisp/dists/quicklisp/software/cl+ssl-20120703-git/ffi.abcl at line 168 (offset 9483) #<THREAD "interpreter" {1A705D7}>: Debugger invoked on condition of type ERROR Class not found: org.armedbear.jna.dynamic.callbacks.G91513 Restarts: 0: TRY-RECOMPILING Recompile ffi and try loading it again 1: RETRY Retry loading FASL for #<ASDF:CL-SOURCE-FILE "cl+ssl" "ffi">. 2: ACCEPT Continue, treating loading FASL for #<ASDF:CL-SOURCE- FILE "cl+ssl" "ffi"> as having been successful. 3: ABORT Give up on "drakma" 4: TOP-LEVEL Return to top level. [1] CL+SSL(4): }}}