Skip to content
Permalink
Browse files
[FIXED JENKINS-13448] Added additional checks if Guice will be able t…
…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 91d88d0508c09a8fbc42f8187347c90c8b79e47e
Showing with 5 additions and 1 deletion.
  1. +5 −1 core/src/main/java/hudson/ExtensionFinder.java
@@ -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);
}

0 comments on commit 91d88d0

Please sign in to comment.