-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Description
A ResolvableType
created using forRawClass
incorrectly returns false
when isAssignable
is called against a type backed by a TypeVariable
.
E.g.: Given the following type:
public static class ExtendedList extends List<CharSequence> {
}
This code will result in false
when it should be true
:
ResolvableType.forRawClass(CharSequence.class).isAssignableFrom(ResolvableType.forClass(ExtendsList.class).as(List.class).getGeneric());
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug