Skip to content
Permalink
Browse files

[FIXED JENKINS-45130] Ambiguous classes in list / array need their FQCN

  • Loading branch information
stephenc committed Jun 26, 2017
1 parent d89586e commit 9585e086ee2732408b8efc7222b74518f0a5b33b
@@ -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++;
}

0 comments on commit 9585e08

Please sign in to comment.
You can’t perform that action at this time.