Delete examples/pgp and fix other examples.

This commit is contained in:
gmp
2020-06-16 22:43:18 -04:00
parent 0b6929c522
commit 267e2e1c33
11 changed files with 9 additions and 690 deletions
+5 -4
View File
@@ -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")