8343497: Missing DEF_STATIC_JNI_OnLoad in libjimage and libsaproc native libraries

Reviewed-by: ihse
This commit is contained in:
Jiangli Zhou 2024-11-04 17:58:22 +00:00
parent 1cc3586c53
commit 774de278f7
2 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,15 @@
#include "imageFile.hpp"
#include "jni_util.h"
/*
* Declare jimage library specific JNI_Onload entry for static build.
*/
extern "C" {
DEF_STATIC_JNI_OnLoad
}
/*
* JImageOpen - Given the supplied full path file name, open an image file. This
* function will also initialize tables and retrieve meta-data necessary to

View File

@ -66,6 +66,7 @@
#include "jni_util.h"
DEF_STATIC_JNI_OnLoad
/*
* Class: sun_jvm_hotspot_asm_Disassembler