src/hotspot/share/prims/jvm.cpp
changeset 58735 24d411cb3a90
parent 58664 e3618c902d17
child 58872 ca70299778b9
equal deleted inserted replaced
58732:d2da05214592 58735:24d411cb3a90
  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