Hyang-Ah (Hana) Kim
|
601608a0e0
|
bind/java: use the class loader cached during JNI_OnLoad call.
This allows the application class loader to be used when
the bind/java package or other part of JNI dynamically
loads java classes from a non-Java thread.
http://developer.android.com/training/articles/perf-jni.html#faq_FindClass
Fixes golang/go#10668.
Change-Id: I44df3a9362617fa6dd26ddf88247e4fdaee7c7e8
Reviewed-on: https://go-review.googlesource.com/9732
Reviewed-by: David Crawshaw <crawshaw@golang.org>
|
2015-05-06 03:41:18 +00:00 |
|