mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
[JENKINS-60816] Missing null check when traversing type hierarchy of interfaces
This commit is contained in:
2 files changed
+18
-1
No files matched your search
@@ -497,7 +497,7 @@ public abstract class ExtensionFinder implements ExtensionPoint {
|
||||
m.setAccessible(true);
|
||||
m.invoke(ecl, c);
|
||||
}
|
||||
for (Class cc = c; cc != Object.class; cc = cc.getSuperclass()) {
|
||||
for (Class<?> cc = c; cc != Object.class && cc != null; cc = cc.getSuperclass()) {
|
||||
/**
|
||||
* See {@link com.google.inject.spi.InjectionPoint#getInjectionPoints(TypeLiteral, boolean, Errors)}
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user