Oliver Drotbohm opened SPR-11763 and commented
Assume the following types:
interface Repository<T, ID extends Serializable> {}
interface IdFixingRepository<T> extends Repository<T, Long> {}
Trying to resolve the type arguments of IdFixingRepository
using GenericTypeResolver
returns null
on Spring 4, works fine with latest 3.2.8. The test below fails starting with version 4.0.
asserNotNull(GenericTypeResolver.resolveTypeArguments(IdFixingRepository.class, Repository.class));
Affects: 4.0.4
Issue Links:
Referenced from: commits bea34ea, fccec21