[Agent] fix HierarchyMatch donot support generic type

This commit is contained in:
ascrutae 2018-02-25 16:59:21 +08:00
parent 239579fda2
commit 8d381976cd
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;
}