Mercurial > hg > truffle
diff src/share/vm/oops/constantPool.cpp @ 6831:d8ce2825b193
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
author | coleenp |
---|---|
date | Sat, 29 Sep 2012 06:40:00 -0400 |
parents | fa6e618671d7 |
children | 6e5a59a8e4a7 |
line wrap: on
line diff
--- a/src/share/vm/oops/constantPool.cpp Fri Sep 28 14:36:20 2012 -0700 +++ b/src/share/vm/oops/constantPool.cpp Sat Sep 29 06:40:00 2012 -0400 @@ -519,7 +519,7 @@ 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