1
0
forked from gmp/jni
JNI library cloned from github.com/tailscale/tailscale-android.
Go to file
Chris Waldon 511df960e4 jni: release string characters in conversion to Go string
This change should fix #13 by releasing the string buffer from the JVM after we
convert the string to a Go string. However, I've been having a lot of trouble
building the tests on Linux, and I've run out of time to keep messing with it.
I'm posting this patch in the hope that someone else is better positioned to
validate it. Please do not merge this unless you can verify that it works
properly.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
2025-12-30 09:43:33 -05:00
scripts Fix bug in last commit 2020-08-07 08:21:05 -04:00
test feat: implement calling static boolean methods 2021-04-18 14:41:05 -04:00
.gitignore Add testing, add non-static field accessors. 2020-06-22 22:19:04 -04:00
go.mod Add testing, add non-static field accessors. 2020-06-22 22:19:04 -04:00
gojni.h jni: release string characters in conversion to Go string 2025-12-30 09:43:33 -05:00
jni_darwin.go Clean up jni_darwin.go 2020-06-22 22:35:40 -04:00
jni_linux.go Fix Android build. 2020-06-23 09:56:34 -04:00
jni_notandroid.go Improve test coverage. 2020-07-09 17:07:34 -04:00
jni_test.go feat: implement calling static boolean methods 2021-04-18 14:41:05 -04:00
jni.c jni: release string characters in conversion to Go string 2025-12-30 09:43:33 -05:00
jni.go jni: release string characters in conversion to Go string 2025-12-30 09:43:33 -05:00
LICENSE Initial commit. 2020-06-19 16:10:40 -04:00
README.md Initial commit. 2020-06-19 16:10:40 -04:00

JNI

A JNI library cloned from github.com/tailscale/tailscale-android.