We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c1bd0a commit d55c25eCopy full SHA for d55c25e
jni/src/common/Foreign/JNI/Unsafe/Internal/JVM.hs
@@ -209,9 +209,9 @@ jvmPtr = unsafePerformIO $ [CU.exp| JavaVM* { jniJVM } |] >>= \case
209
210
-- | Sets the current JVM
211
--
212
--- Only supported in ANDROID
+-- Does nothing if not in ANDROID
213
setJVM :: JVM -> IO ()
214
-setJVM = error "setJVM: only supported in ANDROID"
+setJVM _ = return ()
215
216
-- | Create a new JVM, with the given arguments. /Can only be called once per
217
-- process due to limitations of the JNI implementation/ (see documentation
0 commit comments