Skip to content

Commit

Permalink
[FIXED JENKINS-45130] Ambiguous classes in list / array need their FQCN
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jun 26, 2017
1 parent d89586e commit 9585e08
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -196,7 +196,7 @@ private Object uncoerce(Object o, Type type) {
UninstantiatedDescribable nested = DescribableModel.uninstantiate2_(o);
if (type != o.getClass()) {
int simpleNameCount = 0;
for (Class<?> c : findSubtypes(getErasedType())) {
for (Class<?> c : findSubtypes(Types.erasure(type))) {
if (c.getSimpleName().equals(o.getClass().getSimpleName())) {
simpleNameCount++;
}
Expand Down

0 comments on commit 9585e08

Please sign in to comment.