Skip to content

Commit

Permalink
[FIXED JENKINS-13448] Added additional checks if Guice will be able t…
Browse files Browse the repository at this point in the history
…o create injector to exclude missing extension poins.

(cherry picked from commit 6788f82)
  • Loading branch information
vjuranek committed May 23, 2012
1 parent a868870 commit 91d88d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/src/main/java/hudson/ExtensionFinder.java
Expand Up @@ -407,7 +407,11 @@ private void resolve(Class c) {
m.setAccessible(true);
m.invoke(ecl, c);
c.getMethods();
c.getFields();
c.getFields();
while (c != Object.class) {
c.getGenericSuperclass();
c = c.getSuperclass();
}
} catch (Exception x) {
throw (LinkageError)new LinkageError("Failed to resolve "+c).initCause(x);
}
Expand Down

0 comments on commit 91d88d0

Please sign in to comment.