in core/src/main/java/org/apache/commons/jci2/core/ReloadingClassLoader.java [52:65]
public boolean addResourceStore( final ResourceStore pStore ) {
try {
final int n = stores.length;
final ResourceStore[] newStores = new ResourceStore[n + 1];
System.arraycopy(stores, 0, newStores, 1, n);
newStores[0] = pStore;
stores = newStores;
delegate = new ResourceStoreClassLoader(parent, stores);
return true;
} catch ( final RuntimeException e ) {
log.error("could not add resource store " + pStore);
}
return false;
}