Anthony> I think maybe only the #pragma was actually working because Anthony> jni.h's JNI_OnLoad prototype doesn't have the weak attribute Anthony> and was overriding the one in this file. Good point. Thanks. I don't know if you're waiting for approval or not, but with the changes this patch is fine. Tom