Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-13448] Added additional checks if Guice will be able t…
…o create injector to exclude missing extension poins.
  • Loading branch information
vjuranek committed Apr 13, 2012
1 parent 8886bea commit 6788f82
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 @@ -462,7 +462,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 6788f82

Please sign in to comment.