Dan Muller - 2005-08-24

Logged In: YES

Let me rephrase the last paragraph:

This can be easily fixed by testing javaVM, and returning
immediately if it is NULL. (There's no particular reason to
use the getJavaVM() accessor once the reference is guarded
this way, since onThreadDestruction() lives in the same
module where javaVM is defined.)

BTW, onThreadDestruction() is in file JNIHelper.cpp.