You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a runtime exception when trying to use a delegate.
Exception in thread "main" java.lang.RuntimeException: java.lang.VerifyError: (class: foo/External$Lib$jnr$ffi$2, method: Process signature: (Lfoo/External$FailureCallback;J[B)Z) Expecting to find integer on stack
at jnr.ffi.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:201)
at jnr.ffi.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:59)
at jnr.ffi.provider.jffi.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:43)
at jnr.ffi.LibraryLoader.load(LibraryLoader.java:228)
at jnr.ffi.LibraryLoader.load(LibraryLoader.java:201)
I'm getting a runtime exception when trying to use a delegate.
The code I'm using is simply:
The problem seems to be something to do with the parameter types because changing
data
frombyte[]
tolong
works fine.The text was updated successfully, but these errors were encountered: