test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS302/hs302t002/hs302t002.cpp
equal
deleted
inserted
replaced
67 jint rc ; |
67 jint rc ; |
68 jvmtiEnv * jvmti; |
68 jvmtiEnv * jvmti; |
69 |
69 |
70 nsk_printf("Agent:: VM.. Started..\n"); |
70 nsk_printf("Agent:: VM.. Started..\n"); |
71 rc=vm->GetEnv((void **)&jvmti, JVMTI_VERSION_1_1); |
71 rc=vm->GetEnv((void **)&jvmti, JVMTI_VERSION_1_1); |
72 if (rc!= JNI_OK) { |
72 if (rc != JNI_OK) { |
73 nsk_printf("Agent:: Could not load JVMTI interface \n"); |
73 nsk_printf("Agent:: Could not load JVMTI interface \n"); |
74 return JNI_ERR; |
74 return JNI_ERR; |
75 } else { |
75 } else { |
76 jvmtiCapabilities caps; |
76 jvmtiCapabilities caps; |
77 jvmtiEventCallbacks eventCallbacks; |
77 jvmtiEventCallbacks eventCallbacks; |