Closed Uthar closed 2 years ago
How did you start Java? I think that mine breaks without
--add-opens" "java.base/java.util=ALL-UNNAMED
I was running java -cp "abcl.jar:abcl-contrib.jar" org.armedbear.lisp.Main
.
But you're right, after adding --add-opens=java.base/java.util.jar=ALL-UNNAMED
I can load CFFI with JDK 17. Thanks :-)
BTW, you mention CFFI. Do you use it? I had submitted https://github.com/armedbear/abcl/issues/431 - let me know if you run into anything similar.
With ABCL I use CFFI for SQLite bindings, but had no problems at all.
Thanks, @Uthar I'll try again. Which toois do you use for CFFI, or do you hand write the functions you need? Thanks, Alan
Usually I am lucky and a library already exists, for sqlite i use this.
Some time ago I was also using FFmpeg from Lisp, there was no library so I wrote it by hand. But only the parts I needed: link
I haven't used any of the grovellers yet, but maybe some day. It sounds better than rewriting header files manually.
Discovered while trying to load cffi.
Versions used:
Commands to reproduce the problem: