src/share/vm/oops/constantPool.cpp
Print this page
rev 5932 : 8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
*** 1293,1302 ****
--- 1293,1303 ----
jint si = from_cp->string_index_at(from_i);
to_cp->string_index_at_put(to_i, si);
} break;
case JVM_CONSTANT_UnresolvedClass:
+ case JVM_CONSTANT_UnresolvedClassInError:
{
// Can be resolved after checking tag, so check the slot first.
CPSlot entry = from_cp->slot_at(from_i);
if (entry.is_resolved()) {
assert(entry.get_klass()->is_klass(), "must be");