google / jni-bind

JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).
Apache License 2.0
260 stars 31 forks source link

Add test that creates an object on a secondary thread before any other usage. #302

Closed copybara-service[bot] closed 5 months ago

copybara-service[bot] commented 5 months ago

Add test that creates an object on a secondary thread before any other usage.

This was observed to causes crashes because secondary threads are not associated with any kind of primordial loader (but only on Android).

Because this test is on x86 it actually will still pass without the requisite SetFallbackLoader, so this is mostly for demonstration.

Also, fix formatting on documentation.