< prev index next >

src/java.base/share/native/libjava/VMSupport.c

Print this page

        

@@ -40,10 +40,11 @@
 {
     if (InitAgentProperties_fp == NULL) {
         if (!JDK_InitJvmHandle()) {
             JNU_ThrowInternalError(env,
                  "Handle for JVM not found for symbol lookup");
+            return NULL;
         }
         InitAgentProperties_fp = (INIT_AGENT_PROPERTIES_FN)
             JDK_FindJvmEntry("JVM_InitAgentProperties");
         if (InitAgentProperties_fp == NULL) {
             JNU_ThrowInternalError(env,
< prev index next >