Merge pull request #828 from ascrutae/feature/generic-type

[Agent] fix HierarchyMatch donot support generic type
This commit is contained in:
吴晟 Wu Sheng 2018-02-25 18:15:28 +08:00 committed by GitHub
commit e8477c0fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class HierarchyMatch implements IndirectMatch {
}
private void matchHierarchyClass(TypeDescription.Generic clazz, List<String> parentTypes) {
parentTypes.remove(clazz.getTypeName());
parentTypes.remove(clazz.asRawType().getTypeName());
if (parentTypes.size() == 0) {
return;
}