--- old/src/java.base/share/native/libverify/check_code.c 2015-10-15 12:37:41.127075107 -0400 +++ new/src/java.base/share/native/libverify/check_code.c 2015-10-15 12:37:40.415035063 -0400 @@ -86,6 +86,7 @@ #include #include "jni.h" +#include "jni_util.h" #include "jvm.h" #include "classfile_constants.h" #include "opcodes.in_out" @@ -481,6 +482,11 @@ static void print_formatted_methodname(context_type *context, int index); #endif +/* + * Declare library specific JNI_Onload entry if static build + */ +DEF_STATIC_JNI_OnLoad + void initialize_class_hash(context_type *context) { hash_table_type *class_hash = &(context->class_hash);