Delete examples/pgp and fix other examples.
This commit is contained in:
@@ -14,10 +14,11 @@ import (
|
||||
|
||||
func callJni() {
|
||||
time.Sleep(time.Second/5)
|
||||
h := app.PlatformHandle()
|
||||
labchan <- fmt.Sprintf("JVM = %d", h.JVM)
|
||||
labchan <- fmt.Sprintf("Context = %d", h.Context)
|
||||
SetJVM(h.JVM, h.Context)
|
||||
jvm := app.JavaVM()
|
||||
ctx := app.AppContext()
|
||||
labchan <- fmt.Sprintf("JVM = %d", jvm)
|
||||
labchan <- fmt.Sprintf("Context = %d", ctx)
|
||||
SetJVM(jvm, ctx)
|
||||
|
||||
RunInJVM(func(env *JNIEnv) {
|
||||
log.Print("finding class")
|
||||
|
||||
Reference in New Issue
Block a user