mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Capitalize these metadata types (and objArrayKlass) Reviewed-by: stefank, twisti, kvn
This commit is contained in:
parent
9972f3d338
commit
28047d6a0f
79 changed files with 440 additions and 443 deletions
|
@ -519,7 +519,7 @@ int ConstantPool::remap_instruction_operand_from_cache(int operand) {
|
|||
void ConstantPool::verify_constant_pool_resolve(constantPoolHandle this_oop, KlassHandle k, TRAPS) {
|
||||
if (k->oop_is_instance() || k->oop_is_objArray()) {
|
||||
instanceKlassHandle holder (THREAD, this_oop->pool_holder());
|
||||
Klass* elem_oop = k->oop_is_instance() ? k() : objArrayKlass::cast(k())->bottom_klass();
|
||||
Klass* elem_oop = k->oop_is_instance() ? k() : ObjArrayKlass::cast(k())->bottom_klass();
|
||||
KlassHandle element (THREAD, elem_oop);
|
||||
|
||||
// The element type could be a typeArray - we only need the access check if it is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue