removeUnusedRuntimeSharedLibraryPaths(c.getRemoveUnusedRsls());
List<RslPathInfo> rslList = c.getRslPathInfo();
boolean first = true;
for (Iterator<RslPathInfo> iter = rslList.iterator(); iter.hasNext();) {
RslPathInfo info = (RslPathInfo)iter.next();
String[] rslUrls = info.getRslUrls().toArray(new String[0]);
String[] policyUrls = info.getPolicyFileUrls().toArray(new String[0]);
if (first) {
setRuntimeSharedLibraryPath(info.getSwcPath(),
rslUrls,
policyUrls);
first = false;
}
else {
addRuntimeSharedLibraryPath(info.getSwcPath(),
rslUrls,
policyUrls);
}
}