diff -up ./native/dispatch.c.old ./native/dispatch.c --- ./native/dispatch.c.old 2010-05-12 09:56:55.478872622 +0200 +++ ./native/dispatch.c 2010-05-12 09:57:11.639872467 +0200 @@ -2808,7 +2808,7 @@ Java_com_sun_jna_Native_unregister(JNIEn free(md); } (*env)->ReleaseLongArrayElements(env, handles, data, 0); - (*env)->UnregisterNatives(env, cls); + //(*env)->UnregisterNatives(env, cls); } JNIEXPORT jlong JNICALL