Skip to content

Commit

Permalink
fix:#558 com.alibaba.dubbo.common.serialize.support.dubbo.Builder#new…
Browse files Browse the repository at this point in the history
…ObjectBuilder 存在死循环的风险 (#589)
  • Loading branch information
qinliujie authored Sep 5, 2017
1 parent d0e41e8 commit 2e658dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ private static Builder<?> newObjectBuilder(final Class<?> c) {
t = t.getSuperclass();
if (t == null)
throw new RuntimeException("Can not found Constructor?");
cs = c.getDeclaredConstructors();
cs = t.getDeclaredConstructors();
}
while (cs.length == 0);
}
Expand Down

0 comments on commit 2e658dd

Please sign in to comment.