forked from mockito/mockito
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 - just ignore Object typed fields during injection target analysis, because it will almost always lead to unwanted "multiple matches" problem - moved knowledge about feature toggle GENERICS_SUPPORT_DISABLED_KEY back to TypeBasedCandidateFilter private scope and printing it just once
- Loading branch information
1 parent
b175229
commit 0f7e204
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters