hotspot/src/share/vm/ci/ciEnv.cpp
changeset 13952 e3cf184080bc
parent 13883 6979b9850feb
child 13974 791cba24758f
equal deleted inserted replaced
13918:b01a48301e67 13952:e3cf184080bc
   324     return true;
   324     return true;
   325   }
   325   }
   326 
   326 
   327   if (resolved_klass->oop_is_objArray()) {
   327   if (resolved_klass->oop_is_objArray()) {
   328     // Find the element klass, if this is an array.
   328     // Find the element klass, if this is an array.
   329     resolved_klass = objArrayKlass::cast(resolved_klass)->bottom_klass();
   329     resolved_klass = ObjArrayKlass::cast(resolved_klass)->bottom_klass();
   330   }
   330   }
   331   if (resolved_klass->oop_is_instance()) {
   331   if (resolved_klass->oop_is_instance()) {
   332     return Reflection::verify_class_access(accessing_klass->get_Klass(),
   332     return Reflection::verify_class_access(accessing_klass->get_Klass(),
   333                                            resolved_klass,
   333                                            resolved_klass,
   334                                            true);
   334                                            true);