Consistently detect wildcard without bounds as unresolvable
Closes gh-32327 See gh-20727
This commit is contained in:
@@ -325,7 +325,7 @@ public class ResolvableType implements Serializable {
|
||||
other.getComponentType(), true, matchedBefore, upUntilUnresolvable));
|
||||
}
|
||||
|
||||
if (upUntilUnresolvable && other.isUnresolvableTypeVariable()) {
|
||||
if (upUntilUnresolvable && (other.isUnresolvableTypeVariable() || other.isWildcardWithoutBounds())) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user