equal
deleted
inserted
replaced
2277 // (length is determined by call to JVM_GetClassCPEntriesCount) |
2277 // (length is determined by call to JVM_GetClassCPEntriesCount) |
2278 if (k->is_instance_klass()) { |
2278 if (k->is_instance_klass()) { |
2279 ConstantPool* cp = InstanceKlass::cast(k)->constants(); |
2279 ConstantPool* cp = InstanceKlass::cast(k)->constants(); |
2280 for (int index = cp->length() - 1; index >= 0; index--) { |
2280 for (int index = cp->length() - 1; index >= 0; index--) { |
2281 constantTag tag = cp->tag_at(index); |
2281 constantTag tag = cp->tag_at(index); |
2282 types[index] = (tag.is_unresolved_klass()) ? JVM_CONSTANT_Class : tag.value(); |
2282 types[index] = (tag.is_unresolved_klass()) ? (unsigned char) JVM_CONSTANT_Class : tag.value(); |
2283 } |
2283 } |
2284 } |
2284 } |
2285 JVM_END |
2285 JVM_END |
2286 |
2286 |
2287 |
2287 |