提交 1436bf77 编写于 作者: K kohsuke

handle subtyping better.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11392 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b03414c1
......@@ -268,7 +268,7 @@ public class Ant extends Builder {
}
public Ant newInstance(StaplerRequest req, JSONObject formData) throws FormException {
return req.bindJSON(Ant.class,formData);
return (Ant)req.bindJSON(clazz,formData);
}
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册