Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In TypeBasedCandidateFilter.isCompatibleTypes -> ClassCastException: …
…class TypeVariableImpl cannot be cast to class Class mockito#3294 added test case to verify first case of mockito#3294: generics in combintation with inheritance in test and under test classes led to a ClassCastException (java.lang.ClassCastException: class sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to class java.lang.Class (sun.reflect.generics.reflectiveObjects.TypeVariableImpl and java.lang.Class are in module java.base of loader 'bootstrap') at org.mockito.internal.configuration.injection.filter.TypeBasedCandidateFilter.isCompatibleTypes(TypeBasedCandidateFilter.java:64))
- Loading branch information