Opened 13 years ago
Closed 13 years ago
#247 closed defect (fixed)
CFFI: $Proxy3 is not assignable to com.sun.jna.Pointer
| Reported by: | Anton Vodonosov | Owned by: | Mark Evenson |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1.0 |
| Component: | libraries | Version: | 1.1.0-dev |
| Keywords: | cffi jna | Cc: | |
| Parent Tickets: |
Description
Armed Bear Common Lisp 1.1.0-dev-svn-14181
Java 1.6.0_24 Sun Microsystems Inc.
Remove ~/.cache/common-lisp/ to workaround ticket #246.
(java:add-to-classpath "my-jna/jna.jar")
(provide 'jna)
(ql:quickload :drakma) ;; depends on CL+SSL
(drakma:http-request "https://google.com/")
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
#<THREAD "interpreter" {137E21A}>: Debugger invoked on condition of type TYPE-ERROR
$Proxy3 is not assignable to com.sun.jna.Pointer
Restarts:
0: TOP-LEVEL Return to top level.
[1] CL-USER(5):
Change History (6)
comment:1 Changed 13 years ago by
| Version: | → 1.1.0-dev |
|---|
comment:2 Changed 13 years ago by
| Keywords: | jna added |
|---|---|
| Status: | new → assigned |
comment:3 Changed 13 years ago by
| Milestone: | → 1.1.0 |
|---|
comment:4 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:5 Changed 13 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Still fails in 1.2.0-dev-svn-14409:
$ java -jar ./lisps/abcl/dist/abcl.jar
Armed Bear Common Lisp 1.2.0-dev-svn-14409
[...]
CL-USER(2): (ql:quickload:drakma)
CL-USER(2): (drakma:http-request "https://google.com/")
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
WARNING: JAVA:MAKE-IMMEDIATE-OBJECT is deprecated.
#<THREAD "interpreter" {B8E60A}>: Debugger invoked on condition of type TYPE-ERROR
$Proxy5 is not assignable to com.sun.jna.Pointer
Restarts:
0: TOP-LEVEL Return to top level.
[1] CL-USER(3):
comment:6 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Sorry, I am testing on quicklisp 2013-01-28 and see that CFFI hasn't been updated with required fixes yet.
Note: See
TracTickets for help on using
tickets.
This has been resolved [in the latest patches to CFFI for ABCL][1]
[1]: http://slack.net/~evenson/abcl/cffi/cffi-abcl-20121021a.patch
A [version of this patch has been committed to the master CFFI repository][2], so this change will make it into the Quicklisp distributed version when there is a new release of CFFI.
[2]: https://github.com/cffi/cffi/commit/bd316af736a0bd13e81e4f2f53a24709eaf72f6d