diff --git a/projects/Mockito/7/org/mockito/internal/util/reflection/GenericMetadataSupport.java b/projects/Mockito/7/org/mockito/internal/util/reflection/GenericMetadataSupport.java index 2d6c07b..80bd908 100644 --- a/projects/Mockito/7/org/mockito/internal/util/reflection/GenericMetadataSupport.java +++ b/projects/Mockito/7/org/mockito/internal/util/reflection/GenericMetadataSupport.java @@ -376,6 +376,7 @@ private void readTypeVariables() { for (Type type : typeVariable.getBounds()) { registerTypeVariablesOn(type); } + registerTypeParametersOn(new TypeVariable[] { typeVariable }); registerTypeVariablesOn(getActualTypeArgumentFor(typeVariable)); }