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) {
|
catch (IOException ex) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
"Failed to read Class-Path attribute from manifest of jar "
|
"Failed to read Class-Path attribute from manifest of jar " + url,
|
||||||
+ url);
|
ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Collections.<URL>emptyList();
|
return Collections.<URL>emptyList();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue