From 7ddb43a96daae34019646f4f881bff09d0768d5b Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:27:33 +0100 Subject: [PATCH] fixed files form Mockito #7 --- .../mockito/internal/util/reflection/GenericMetadataSupport.java | 1 + 1 file changed, 1 insertion(+) 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)); }