equal
deleted
inserted
replaced
2306 // (length is determined by call to JVM_GetClassCPEntriesCount) |
2306 // (length is determined by call to JVM_GetClassCPEntriesCount) |
2307 if (k->is_instance_klass()) { |
2307 if (k->is_instance_klass()) { |
2308 ConstantPool* cp = InstanceKlass::cast(k)->constants(); |
2308 ConstantPool* cp = InstanceKlass::cast(k)->constants(); |
2309 for (int index = cp->length() - 1; index >= 0; index--) { |
2309 for (int index = cp->length() - 1; index >= 0; index--) { |
2310 constantTag tag = cp->tag_at(index); |
2310 constantTag tag = cp->tag_at(index); |
2311 types[index] = (tag.is_unresolved_klass()) ? JVM_CONSTANT_Class : tag.value(); |
2311 types[index] = (tag.is_unresolved_klass()) ? (unsigned char) JVM_CONSTANT_Class : tag.value(); |
2312 } |
2312 } |
2313 } |
2313 } |
2314 JVM_END |
2314 JVM_END |
2315 |
2315 |
2316 |
2316 |