Include cause when throwing exception due to unreadable manifest
Closes gh-6417
This commit is contained in:
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…
Reference in New Issue