test/hotspot/jtreg/vmTestbase/nsk/jvmti/ClassPrepare/classprep001/classprep001.cpp
equal
deleted
inserted
replaced
57 static jint result = PASSED; |
57 static jint result = PASSED; |
58 static jboolean printdump = JNI_FALSE; |
58 static jboolean printdump = JNI_FALSE; |
59 static size_t eventsCount = 0; |
59 static size_t eventsCount = 0; |
60 static size_t eventsExpected = 0; |
60 static size_t eventsExpected = 0; |
61 static class_info classes[] = { |
61 static class_info classes[] = { |
62 {"Lnsk/jvmti/ClassPrepare/classprep001$TestInterface;", EXP_STATUS, 2, 1, 0}, |
62 { "Lnsk/jvmti/ClassPrepare/classprep001$TestInterface;", EXP_STATUS, 2, 1, 0 }, |
63 {"Lnsk/jvmti/ClassPrepare/classprep001$TestClass;", EXP_STATUS, 3, 2, 1} |
63 { "Lnsk/jvmti/ClassPrepare/classprep001$TestClass;", EXP_STATUS, 3, 2, 1 } |
64 }; |
64 }; |
65 |
65 |
66 void printStatus(jint status) { |
66 void printStatus(jint status) { |
67 int flags = 0; |
67 int flags = 0; |
68 if ((status & JVMTI_CLASS_STATUS_VERIFIED) != 0) { |
68 if ((status & JVMTI_CLASS_STATUS_VERIFIED) != 0) { |