test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS302/hs302t002/hs302t002.cpp
changeset 52949 c78a17d24618
parent 52284 1f402d1f630f
child 57629 7aba63ce3b3a
child 58678 9cf78a70fa4f
equal deleted inserted replaced
52948:04c9b7111aac 52949:c78a17d24618
    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;