Преглед на файлове

fix for 150095: generics binary decp

tags/PRE_PIPELINE
aclement преди 18 години
родител
ревизия
5ab92340fd
променени са 1 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 9
    1
      weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java

+ 9
- 1
weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java Целия файл

@@ -681,7 +681,15 @@ public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, Anno
} else {
return aType.getRawType();
}
}
} else if (aType.isArray()) {
// The component type might be a type variable (pr150095)
int dims = 1;
String sig = aType.getSignature();
while (sig.charAt(dims)=='[') dims++;
UnresolvedType componentSig = UnresolvedType.forSignature(sig.substring(dims));
UnresolvedType arrayType = ResolvedType.makeArray(parameterize(componentSig,typeVariableMap,inParameterizedType),dims);
return arrayType;
}
return aType;
}

Loading…
Отказ
Запис