While running unit tests for some code that interacts with temporary files in JRuby, I sometimes get the following:
Exception: java.lang.ThreadDeath thrown from the UncaughtExceptionHandler in thread "Thread-6395"
It doesn't seem to cause any problems, but what's going on, and how can I determine where it's occurring? I tried turning on -d
, but that didn't give me a stack trace for the exception.