提交 79f5d085 编写于 作者: K kohsuke

bug fix

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15731 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a96f1f88
......@@ -131,7 +131,7 @@ public class DescriptorExtensionList<T extends Describable<T>, D extends Descrip
LOGGER.severe(d.getClass()+" doesn't extend Descriptor with a type parameter");
continue; // skip this one
}
if(Types.getTypeArgument(subTyping,0)==describableType)
if(Types.erasure(Types.getTypeArgument(subTyping,0))==(Class)describableType)
r.add(d);
}
return r;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册