equal
deleted
inserted
replaced
363 } |
363 } |
364 if (!accessing_klass->is_instance_klass()) { |
364 if (!accessing_klass->is_instance_klass()) { |
365 return true; |
365 return true; |
366 } |
366 } |
367 |
367 |
368 if (resolved_klass->oop_is_objArray()) { |
368 if (resolved_klass->is_objArray_klass()) { |
369 // Find the element klass, if this is an array. |
369 // Find the element klass, if this is an array. |
370 resolved_klass = ObjArrayKlass::cast(resolved_klass)->bottom_klass(); |
370 resolved_klass = ObjArrayKlass::cast(resolved_klass)->bottom_klass(); |
371 } |
371 } |
372 if (resolved_klass->oop_is_instance()) { |
372 if (resolved_klass->is_instance_klass()) { |
373 return Reflection::verify_class_access(accessing_klass->get_Klass(), |
373 return Reflection::verify_class_access(accessing_klass->get_Klass(), |
374 resolved_klass, |
374 resolved_klass, |
375 true); |
375 true); |
376 } |
376 } |
377 return true; |
377 return true; |