x/mobile/cmd/gomobile: RunOnJVM is not available from init functions #25255
In my library, JNI functions are called from Go side. JVM is accessed via a global C variable
I realized that
Wouldn't it be possible to make JVM available even from
As for iOS, Objective-C binding via cgo is available and there is not such problem.
The above problem was solved #26815
BTW, to use JNI in