Project: AspectJ
Bug 371684 type construction for signature makes mistakes with wildcards
Reported: 2012-02-15 17:16:16 | Status: resolved fixed

If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. (e.g. ArrayIndexOutOfBoundsException when building parameterization map)

Files changed in fix:
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java