Mercurial > hg > truffle
comparison src/share/vm/oops/constantPool.cpp @ 14648:4c76be9856fc
8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
Reviewed-by: dcubed, mgronlun
author | sla |
---|---|
date | Wed, 26 Feb 2014 15:47:44 +0100 |
parents | 26c3b944dc35 |
children | b51e29501f30 |
comparison
equal
deleted
inserted
replaced
14482:5e7eb4244604 | 14648:4c76be9856fc |
---|---|
1293 jint si = from_cp->string_index_at(from_i); | 1293 jint si = from_cp->string_index_at(from_i); |
1294 to_cp->string_index_at_put(to_i, si); | 1294 to_cp->string_index_at_put(to_i, si); |
1295 } break; | 1295 } break; |
1296 | 1296 |
1297 case JVM_CONSTANT_UnresolvedClass: | 1297 case JVM_CONSTANT_UnresolvedClass: |
1298 case JVM_CONSTANT_UnresolvedClassInError: | |
1298 { | 1299 { |
1299 // Can be resolved after checking tag, so check the slot first. | 1300 // Can be resolved after checking tag, so check the slot first. |
1300 CPSlot entry = from_cp->slot_at(from_i); | 1301 CPSlot entry = from_cp->slot_at(from_i); |
1301 if (entry.is_resolved()) { | 1302 if (entry.is_resolved()) { |
1302 assert(entry.get_klass()->is_klass(), "must be"); | 1303 assert(entry.get_klass()->is_klass(), "must be"); |