Skip to content
Permalink
Browse files
[FIXED JENKINS-20951] XmlFile.read/unmarshal needs to catch general X…
…StreamException so as to include CannotResolveClassException, thrown when a TopLevelItem provided by a plugin is unloadable.

Originally-Committed-As: a58e198f8aa60dd0cb244cba338d9c48141590e5
  • Loading branch information
jglick committed Dec 10, 2013
1 parent 98f9f1a commit ed58f6ce3cf3c9d8bac2f3a05ee63f860d2f1150
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/src/main/java/org/jvnet/hudson/test/MockFolder.java
@@ -94,6 +94,9 @@ public String call(TopLevelItem item) {
}

@Override public TopLevelItem getItem(String name) {
if (items == null) {
return null; // cf. parent hack in AbstractProject.onLoad
}
return items.get(name);
}

0 comments on commit ed58f6c

Please sign in to comment.