Lines Matching refs:loader
28 static ClassObject* createArrayClass(const char* descriptor, Object* loader);
243 ClassObject* dvmFindArrayClass(const char* descriptor, Object* loader)
248 //ALOGV("dvmFindArrayClass: '%s' %p", descriptor, loader);
250 clazz = dvmLookupClass(descriptor, loader, false);
252 ALOGV("Array class '%s' %p not found; creating", descriptor, loader);
253 clazz = createArrayClass(descriptor, loader);
255 dvmAddInitiatingLoader(clazz, loader);
268 * "loader" is the class loader of the class that's referring to us. It's
270 * context. It does NOT become the class loader for the array class; that
275 static ClassObject* createArrayClass(const char* descriptor, Object* loader)
294 outer = dvmFindClassNoInit(&descriptor[1], loader);
309 elementClass = dvmFindClassNoInit(subDescriptor, loader);
327 * with the class loader of their underlying element type -- an array
328 * of Strings goes with the loader for java/lang/String -- so we need
331 * *their* class loader, not the element class' loader.)
333 * If we find it, the caller adds "loader" to the class' initiating
334 * loader list, which should prevent us from going through this again.
336 * This call is unnecessary if "loader" and "elementClass->classLoader"
343 if (loader != elementClass->classLoader) {
345 descriptor, loader, elementClass->classLoader);
349 descriptor, elementClass->classLoader, loader);