< prev index next >
src/java.base/macosx/native/libjli/java_md_macosx.c
Print this page
*** 732,741 ****
--- 732,748 ----
if (ifn->GetCreatedJavaVMs == NULL) {
JLI_ReportErrorMessage(DLL_ERROR2, jvmpath, dlerror());
return JNI_FALSE;
}
+ ifn->GetCreatedJavaVMs = (SetNativeThreadName0_t)
+ dlsym(libjvm, "JVM_SetNativeThreadName0");
+ if (ifn->GetCreatedJavaVMs == NULL) {
+ JLI_ReportErrorMessage(DLL_ERROR2, jvmpath, dlerror());
+ return JNI_FALSE;
+ }
+
return JNI_TRUE;
}
/*
* Compute the name of the executable
< prev index next >