Merge branch '1.3.x'

This commit is contained in:
Andy Wilkinson
2016-04-15 17:33:25 +01:00
2 changed files with 15 additions and 3 deletions

View File

@@ -118,6 +118,9 @@ final class ChangeableUrls implements Iterable<URL> {
}
private static List<URL> getUrlsFromClassPathAttribute(URL base, Manifest manifest) {
if (manifest == null) {
return Collections.<URL>emptyList();
}
String classPath = manifest.getMainAttributes()
.getValue(Attributes.Name.CLASS_PATH);
if (!StringUtils.hasText(classPath)) {