< prev index next >

modules/javafx.graphics/src/main/native-glass/gtk/glass_general.cpp

Print this page
rev 10015 : 8137141: Fatal error in Method::build_method_counters when called from libglass.so

*** 116,134 **** --- 116,137 ---- jboolean is_display_valid() { return displayValid; } + JavaVM* javaVM; + JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) { (void)reserved; JNIEnv *env; jclass clazz; Display* display; + javaVM = jvm; if (jvm->GetEnv((void **)&env, JNI_VERSION_1_6)) { return JNI_ERR; /* JNI version not supported */ } clazz = env->FindClass("java/lang/String");
< prev index next >