jnipp
jnipp copied to clipboard
Added `env()->ExceptionClear()` everywhere before throwing NameResolutionException
Uncleared exceptions cause SegFault on Android.
Android developer docs:You must not call most JNI functions while an exception is pending.
I wonder if there is a way to add a test for this. I guess we would have to throw a JNI exception that wouldn't be handled by jnipp?