jnipp icon indicating copy to clipboard operation
jnipp copied to clipboard

Added `env()->ExceptionClear()` everywhere before throwing NameResolutionException

Open hacker-cb opened this issue 1 year ago • 1 comments

Uncleared exceptions cause SegFault on Android.

Android developer docs:You must not call most JNI functions while an exception is pending.

hacker-cb avatar Dec 01 '23 13:12 hacker-cb

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?

rpavlik avatar May 17 '24 20:05 rpavlik