Revision 9699

View differences:

trunk/frameworks/_fwAndami/src/com/iver/andami/plugins/PluginClassLoader.java
239 239
        	try {
240 240
        		c = singleLoadClass(name);
241 241
        	} catch (ClassNotFoundException e2) {
242
        		c = loadOtherClass(name,resolve);
242
        		try {
243
        			c = loadOtherClass(name,resolve);
244
        		}catch (ClassNotFoundException e3) {
245
        			 throw new ClassNotFoundException(Messages.getString(
246
                     "PluginClassLoader.Error_reading_file") + name);
247
        		}
243 248
        	}
244 249
        }
245 250

  
......
255 260
	ClassLoader[] ocl=(ClassLoader[])otherLoaders.toArray(new ClassLoader[0]);
256 261
    Class c=null;
257 262
	for (int i=0;i<ocl.length;i++) {
258
    	c=ocl[i].loadClass(name);
263
		if (!(ocl[i].getParent() instanceof PluginClassLoader)) {
264
			c=ocl[i].loadClass(name);
265
		}
259 266
    	if (c!=null)
260 267
    		return c;
261 268
    }

Also available in: Unified diff