I'm working on fixing a JNI call that's crashing at the moment. Striving to be a good TDD practitioner, I've created a JUnit test to replicate the problem, which it does admirably.
However, by crashing, the JNI call never returns. Is it possible to write a JUnit test that reports a failure on a JNI crash?