test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetBytecodes/bytecodes001/bytecodes001.cpp
equal
deleted
inserted
replaced
78 if (res != JNI_OK || jvmti == NULL) { |
78 if (res != JNI_OK || jvmti == NULL) { |
79 printf("Wrong result of a valid call to GetEnv!\n"); |
79 printf("Wrong result of a valid call to GetEnv!\n"); |
80 return JNI_ERR; |
80 return JNI_ERR; |
81 } |
81 } |
82 |
82 |
83 if ((err = (jvmti->GetCapabilities(&caps))) != JVMTI_ERROR_NONE) { |
83 err = jvmti->GetCapabilities(&caps); |
|
84 if (err != JVMTI_ERROR_NONE) { |
84 printf("(GetCapabilities) unexpected error: %s (%d)\n", |
85 printf("(GetCapabilities) unexpected error: %s (%d)\n", |
85 TranslateError(err), err); |
86 TranslateError(err), err); |
86 return JNI_ERR; |
87 return JNI_ERR; |
87 } |
88 } |
88 |
89 |