user16332
Results
2
issues of
user16332
For calls from Haskell into the JVM `jni` relies on a cached pointer to JNI's `JavaVM` struct. This pointer is currently obtained via the `jvm` function that calls `JNI_GetCreatedJavaVMs`: https://github.com/tweag/inline-java/blob/master/jni/src/common/Foreign/JNI/Unsafe/Internal.hs#L363...
For use with haskell.nix, which relies on cabal, include `.cabal` and `.h` files: https://github.com/user16332/inline-java/commit/3fa95fde11c9c1731f08b1654d4626b0e1cefabb