hotspot/src/share/vm/memory/oopFactory.cpp
changeset 33611 9abd65805e19
parent 33602 16053580a684
child 46257 3e95288ce4ca
--- a/hotspot/src/share/vm/memory/oopFactory.cpp	Mon Oct 26 13:11:36 2015 -0400
+++ b/hotspot/src/share/vm/memory/oopFactory.cpp	Wed Oct 28 09:47:23 2015 -0400
@@ -81,7 +81,7 @@
 
 objArrayOop oopFactory::new_objArray(Klass* klass, int length, TRAPS) {
   assert(klass->is_klass(), "must be instance class");
-  if (klass->oop_is_array()) {
+  if (klass->is_array_klass()) {
     return ArrayKlass::cast(klass)->allocate_arrayArray(1, length, THREAD);
   } else {
     return InstanceKlass::cast(klass)->allocate_objArray(1, length, THREAD);