Include cause when throwing exception due to unreadable manifest

Closes gh-6417
pull/6458/head
Andy Wilkinson 8 years ago
parent 49676ee986
commit e1950e34c6

@ -98,8 +98,8 @@ final class ChangeableUrls implements Iterable<URL> {
}
catch (IOException ex) {
throw new IllegalStateException(
"Failed to read Class-Path attribute from manifest of jar "
+ url);
"Failed to read Class-Path attribute from manifest of jar " + url,
ex);
}
}
return Collections.<URL>emptyList();

Loading…
Cancel
Save