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.
  • Loading branch information
vjuranek committed Apr 13, 2012
1 parent 8886bea commit 6788f82a2c9f8e3580440913c2d39f1d1dc3ad70
Showing with 5 additions and 1 deletion.
  1. +5 −1 core/src/main/java/hudson/ExtensionFinder.java
@@ -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);
}

0 comments on commit 6788f82

Please sign in to comment.