Commit Graph
22 Commits
Author SHA1 Message Date
whereswaldon 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
gmp 34026c7e22 Merge pull request 'master' (#8) from whereswaldon/jni:master into master
Reviewed-on: #8
2021-06-10 01:17:05 +00:00
whereswaldon f8a0df591f fix: use proper return type for static booleans
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
2021-05-31 16:11:30 -04:00
whereswaldon ff2a63c99a feat: implement calling static boolean methods
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
2021-04-18 14:41:05 -04:00
gmpandGogs 014cd5c7c4 Merge branch 'master' of jeffwilliams/jni into master 2020-08-27 15:41:56 +00:00
Jeff Williams 396d6d4dec Fix bug in last commit 2020-08-07 08:21:05 -04:00
Jeff Williams 3310c43bcf Make find_linux_jnih more robust. 2020-08-07 08:05:48 -04:00
Jeff Williams 15a239885b Add support for object arrays. 2020-08-05 22:24:04 -04:00
gmp 4a3b173acb Merge remote-tracking branch 'origin/master' into HEAD 2020-07-09 17:08:36 -04:00
gmp 2cf43e041c Improve test coverage. 2020-07-09 17:07:34 -04:00
gmpandGogs b33150047f Merge branch 'master' of whereswaldon/jni into master 2020-06-26 21:27:01 +00:00
whereswaldon b74a17279b tests: add tests for calling new method types 2020-06-26 15:40:17 -04:00
whereswaldon b5d97bc020 feat: implement calling more non-static method types 2020-06-26 15:26:00 -04:00
gmp 2e7d20a1b4 Doc fix. 2020-06-23 14:05:11 -04:00
gmp afef4e65f6 Documentation. 2020-06-23 13:12:34 -04:00
gmp e40e34d1e6 Fix Android build. 2020-06-23 09:56:34 -04:00
gmp 70e004187d Linux port
Add jni_linux.go and scripts/find_linux_jnih.
2020-06-22 23:12:16 -04:00
gmp 187cd38f39 Clean up jni_darwin.go 2020-06-22 22:35:40 -04:00
gmp 8a58259fba Add testing, add non-static field accessors. 2020-06-22 22:19:04 -04:00
gmpandGogs 94b5b1f940 Merge branch 'master' of whereswaldon/jni into master 2020-06-22 16:38:36 +00:00
whereswaldon b380472956 feat: enable looking up values of static fields 2020-06-20 11:27:23 -04:00
gmp d0d3f316ae Initial commit. 2020-06-19 16:10:40 -04:00