Lines Matching refs:class2
2001 bool instanceKlass::is_same_class_package(klassOop class2) {
2006 if (Klass::cast(class2)->oop_is_objArray()) {
2007 class2 = objArrayKlass::cast(class2)->bottom_klass();
2010 if (Klass::cast(class2)->oop_is_instance()) {
2011 classloader2 = instanceKlass::cast(class2)->class_loader();
2013 assert(Klass::cast(class2)->oop_is_typeArray(), "should be type array");
2016 Symbol* classname2 = Klass::cast(class2)->name();
2117 instanceKlassHandle class2(THREAD, class2_oop);
2120 if (!class1->is_same_class_package(class2->class_loader(), class2->name()))
2127 // As we walk along, look for equalities between outer1 and class2.
2134 if (next == class2()) return true;
2138 // Now do the same for class2.
2139 instanceKlassHandle outer2 = class2;