src/hotspot/share/prims/jvm.cpp
branchihse-cflags-rewrite-branch
changeset 56221 bdf8f77aad3a
parent 49037 dc68aeea4840
child 56312 a52bcf4118eb
equal deleted inserted replaced
56220:608e332e33e8 56221:bdf8f77aad3a
  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